Question

DNS problem: NXDOMAIN looking up A for

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


Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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