Cant use a Subdomain in NGINX Proxy Manager

i try to set up the NGINX Reverse Proxy Manger on my Docker. Now i have a DynDNS adress and i works with the proxy manager because i can reach the default page of nginx proxy manger over the dyndns adress. When i try to connect a port with the standart dyndns name that i have over the proxy manager it works fine, also with ssl. But when i try to use A subdomain like subdomain1.laptopsimon.net nothing works i cant create a ssl certificate and i even cant connect over http to the side.

Has anybody a Idea why I can not use Subdomains?

Also i get this Letsencrypt Error in the LOG:

[12/25/2022] [1:50:45 PM] [SSL ] › :information_source: info Requesting Let'sEncrypt certificates for Cert #9: subdomain1.laptopsimon.ddns.net [12/25/2022] [1:50:45 PM] [SSL ] › :information_source: info Command: certbot certonly --config "/etc/letsencrypt.ini" --cert-name "npm-9" --agree-tos --authenticator webroot --email "simon.hauber@outlook.de" --preferred-challenges "dns,http" --domains "subdomain1.laptopsimon.ddns.net" [12/25/2022] [1:50:49 PM] [Nginx ] › :information_source: info Reloading Nginx [12/25/2022] [1:50:49 PM] [Express ] › :warning: warning Command failed: certbot certonly --config "/etc/letsencrypt.ini" --cert-name "npm-9" --agree-tos --authenticator webroot --email "simon.hauber@outlook.de" --preferred-challenges "dns,http" --domains "subdomain1.laptopsimon.ddns.net" Saving debug log to /var/log/letsencrypt/letsencrypt.log Some challenges have failed. Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.

as its different fqdn youd need to set it separately on nginx RP config as if different domain

5 Likes

Hi @Ichhaudich007, and welcome to the LE community forum :slight_smile:

You first need to have a working HTTP site before you can secure it using HTTP-01 authentication.
Having the web server return a default page is NOT "a working HTTP site".

4 Likes

First of all thanks for the replys i now have the main error is that i can not create any porxy host

1 Like

You mean as new host?

yes it is but you'd have to fix the container first

4 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.