I’m getting the following message while attempting to generate a certificate for my nginx reverse proxy.
vinod@nginxproxy:~$ sudo certbot --nginx
[sudo] password for vinod:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator nginx, Installer nginx
No names were found in your configuration files. Please enter in your domain
name(s) (comma and/or space separated) (Enter ‘c’ to cancel): domain1.com
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for domain1.com
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. domain1.com (http-01): urn:ietf:params:acme:error:dns :: DNS problem: NXDOMAIN looking up A for domain1.com
-The following errors were reported by the server:
Im quite a newbie with certbot, can anyone point in the right direction?