Failed certificate for recreated server

I suspect that have created this problem by successfully setting up https on this server yesterday with Lets Encrypt then blowing it away and recreating it at the same ip address but without saving anything (including the letsencrypt directory contents). How can I fix this???

I have checked on Let’s Debug and the domain looks OK, and is directed to the correct address for the server.

My domain is:

I ran this command: certbot --nginx -d

It produced this output:

Failed authorization procedure. (http-01): urn:ietf:params:acme:error:dns :: DNS problem: NXDOMAIN looking up A for IMPORTANT NOTES: - The following errors were reported by the server: Domain: Type: None Detail: DNS problem: NXDOMAIN looking up A for

My web server is (include version): nginx - recently installed, not sure of version

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

My hosting provider, if applicable, is: Digital Ocean

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

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): 0.31.0

There’s a typo: in the command, you wrote

Woops. Thanks for replying so politely to such a stupid error. I clearly need new glasses. Also upping the font on bash!

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