Report this

What is the reason for this report?

Obtaining a Certbot SSL Certificate fails

Posted on January 19, 2021

Following through the tutorial (https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-18-04), when trying to obtain an SSL cert in Step-4 (sudo certbot --nginx -d <mydomain>.com -d www.<mydomain>.com), I get the following error:

  • The following errors were reported by the server:

    Domain: www.<mydomain>.com Type: None Detail: DNS problem: NXDOMAIN looking up A for www.<mydomain>.com

    • check that a DNS record exists for this domain

    Domain: <mydomain>.com Type: None Detail: DNS problem: NXDOMAIN looking up A for <mydomain>.com - check that a DNS record exists for this domain

I have done this many times in the past for other domains and this is the first time I get an error. I have made all the prerequisites mentioned at the beginning of the article, as always, but still I cannot figure where the problem is.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.