Following the instructions here, I can’t get certbox to register my domain.
My domain is:
I ran this command:
sudo certbot --nginx -d greg.party -d www.greg.party
I’ve used variations - sometimes only entering … -d greg.party, -d www.greg.party, changing order …
It produced this output:
greg@joeiii:~$ sudo certbot --nginx -d greg.party -d www.greg.party
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
Obtaining a new certificate
Performing the following challenges:
tls-sni-01 challenge for greg.party
tls-sni-01 challenge for www.greg.party
Cleaning up challenges
Cannot find a VirtualHost matching domain greg.party.
My web server is (include version):
The operating system my web server runs on is (include version):
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don’t know):
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
Partially. Here’s a screencap of my domain configuration on digitalocean.com
Could you also post the nginx configuration file that defines the virtual host for those domain names? Are you using the default structure for nginx configuration on your operating system, or did you change or rewrite the nginx configuration in some way?
Nope, the problem has to do with your nginx configuration (in terms of the actual configuration file parsing). It’s not a network error, but a configuration parsing error — which could potentially be a problem with Certbot rather than your configuration.