DNS problem: NXDOMAIN looking up A for

Posted August 27, 2021 2.8k views

We have pointed the domain to our subdomain “Smartmilk” on digital ocean ( Respective A and CNAME records are addred and “” is accessible. But facing error while installing the SSL certificate.

The following errors were reported by the server:

Type: None
Detail: DNS problem: NXDOMAIN looking up A for - check that a DNS record exists for
this domain

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer


As far as I can see you do not have a CNAME record for your www version:

What you would need to do is to add a CNAME record for to point to your non-www version:

That way Let’s Encrypt will be able to validate your www version too and issue a certificate for you.

Let me know how it goes.