loganschmalz.org and loganschmalz.net redirecting to loganschmalz.com
certbot --nginx
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: loganschmalz.net
Type: unauthorized
Detail: Invalid response from
http://loganschmalz.net/.well-known/acme-challenge/PXJp0fHzZaX-U9-bsoPKvcfSlAzyFP1x_jibqvRfOus:
"<my index.html code>"
Domain: www.loganschmalz.org
Type: unauthorized
Detail: Invalid response from
http://www.loganschmalz.org/.well-known/acme-challenge/tb_pJjJ8v_qrwa2VS9nLtiTbxyCg0weFUQ2yIL70d14:
"<my index.html code>"
Domain: www.loganschmalz.net
Type: unauthorized
Detail: Invalid response from
http://www.loganschmalz.net/.well-known/acme-challenge/MWwpHsSqD3ceINV4-WDKE0whkjYR_WX-ig6QJPRJgKI:
"<my index.html code>"
Domain: loganschmalz.org
Type: unauthorized
Detail: Invalid response from
http://loganschmalz.org/.well-known/acme-challenge/VP3MSY3ooDKPQLYRs9Mj6rNRqKZYxbIkwHtFY_IHkuM:
"<my index.html code>"
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
Nginx 1.15.8, CentOS 7, root access, certbot 0.29.1
I just bought my domains on Google Domains. My loganschmalz.com certificate is working alone, but I want my redirects to be secured as well. I can post my configuration if needed, but the only thing under my redirect domains is a return 301 to my main domain.
Edit: I’ve just realized the could be related to my try_files redirecting to the index, but I’m still not sure why it would work for my main domain but not redirects. Is it because it can’t see the websites with my 301 redirect?