Detail: DNS problem: NXDOMAIN looking up A for

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g., so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain

I ran this command:sudo certbot --nginx -d -d

It produced this output:Failed authorization procedure. (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: DNS problem: NXDOMAIN looking up A for

My web server is (include version):nginx

The operating system my web server runs on is (include version):ubuntu 16.04

My hosting provider, if applicable, is:digitalocean

I can login to a root shell on my machine (yes or no, or I don’t know):yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):no


You don’t have an A record for your www version of domain.
Please add it to your digital ocean control panel.

I had already A record and Cnames : see screenshot below


You also need to add www and point to the same ip in order to use www for your cert.

Thank you


Thank you so much <3

In order to use it in any way to be exact :stuck_out_tongue:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.