Question

DNS problem: NXDOMAIN looking up A for

  • Posted August 27, 2021
  • DNS

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

The following errors were reported by the server:

Domain: www.smartmilk.puremilk.co.in Type: None Detail: DNS problem: NXDOMAIN looking up A for www.smartmilk.puremilk.co.in - check that a DNS record exists for this domain

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Hello,

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

https://www.digitalocean.com/community/tools/dns

What you would need to do is to add a CNAME record for www.smartmilk.puremilk.co.in to point to your non-www version: smartmilk.puremilk.co.in.

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.

Regards, Bobby