- The following errors were reported by the server:
Detail: Invalid response from
<head><title>404 Not Found</title></head>
<center><h1>404 Not Found</h1></center>
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.
I ran the command$ sudo certbot --nginx
I have an A and an AAAA recored for that domain. Also I don’t know why it’s looking for /.well-known/acme-challenge/. My the dir is /var/www/nginx/mail.aboutryansam.com/ the only file I have in their is index.html. I’ve used certbot before and I’ve never had problems like this. The only difference is on my apache server I have a reverse proxy that directs traffic from mail.aboutryansam.com to the nginx service running on port 81.