Question

Error Failed to validate name servers..

Im trying to add a new ssl certificate to my subdomain space, and Im getting the error bellow, “failed to validate nameserver records: a non DigitalOcean Name Server was found for example.com domain.” My domain is on hostinger, I ve changed the nameservers, all working great for the main domain for a long time, but when I m trying to create the cert for the subdomain of the space through the panel panel digitalocean Im getting the above error. Any thoughts?


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.

Hi there,

The error you’re encountering suggests that at least one of the nameservers for example.com isn’t set to DigitalOcean’s nameservers.

If you were to use the following DNS lookup tool, do you get the correct NameServers back:

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

Also, just to confirm, you’ve added your main domain name as a domain name to your DigitalOcean account and also updated your NameServers to the DigitalOcean ones correct?

  • ns1.digitalocean.com
  • ns2.digitalocean.com
  • ns3.digitalocean.com

If the above has not been done yet I could suggest adding your main domain name to your DigitalOcean account:

  • Log in to your DigitalOcean Control Panel.
  • Go to Networking and then Domains.
  • Ensure that example.com is listed. If not, you need to add it.
  • Ensure all required DNS records for your domain and subdomain are correctly set up here. This is where DigitalOcean expects to find them if you’re using its nameservers.

After making that change keep in mind that it can take up to 24 hours for the DNS cache to clear over the Globe before you could see the new records.

If after checking these points you’re still facing issues, it might be worth reaching out to DigitalOcean’s support with specifics. They should be able to assist in diagnosing any nuances related to your account or their infrastructure.

Let me know how it goes!

Best,

Bobby

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel