Danke dir für die schnelle Antwort. Das beide Domains ein Zertifikat brauchen hab ich mir schon gedacht.
Ich habe im Nginx auch beide Domains eingetragen, leider meldet Nginx bei der Zertifikatserstellung einen Fehler. Habe jetzt ein Tool genommen und gleiches Result:
2024/07/15 11:33:26 Domain verification results for 'anwendung.hosting.de': error. 78.48.15.57: Invalid response from http://xy.meinedomain.de/.well-known/ac…Zxz33lp2J6_E8o: 404
2024/07/15 11:33:26 You can now delete the 'JWMJKyehdKUVSDnzWu1ays-vf9A9kZxz33lp2J6_E8o' file.
2024/07/15 11:33:29 Domain verification results for 'http://www.anwendung.hosting.de': error. DNS problem: NXDOMAIN looking up A for http://www.xy.meinedomain.de - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for http://www.xy.meinedomain.de - check that a DNS record exists for this domain
2024/07/15 11:33:29 You can now delete the 'p-aXzcQhLqqUDvwcpqZR2nrYNBtj-QuxHFq1hVcaZ1E' file.
2024/07/15 11:33:29 All verifications failed
Aus dem Fehlerlog sieht es so aus als ob LetsEncrypt mit dem Cname Record nicht klar kommt (A, AAA Record existiert hier nicht für die Subdomain).
PS: habe oben die Domain ersetzt durch Platzhalter.
Edit:
Den Cname eintrag "anwendung.hosting.de" habe ich auf die domain "meinedomain.anbieter.org" laufen, dieser löst dann die IP aus. Liegt hier der Fehler?