Server DNS address could not be found [ERR_NAME_NOT_RESOLVED]

Hello, I have 2 droplets, the first one has domain, and it works perfectly. The second one, ip of and the domain doesn’t work.

whois Domain Name: PETER-EZZAT.NET Registrar: GODADDY.COM, LLC Sponsoring Registrar IANA ID: 146 Whois Server: Referral URL: Name Server: NS1.DIGITALOCEAN.COM Name Server: NS2.DIGITALOCEAN.COM Name Server: NS3.DIGITALOCEAN.COM Status: clientDeleteProhibited Status: clientRenewProhibited Status: clientTransferProhibited Status: clientUpdateProhibited Updated Date: 29-jul-2016 Creation Date: 20-jul-2013 Expiration Date: 20-jul-2017

Thank you.

Show comments

Submit an answer
Answer a question...

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.

Allright, I found your problem. Please post your webserver VHOST config. The webserver (nginx or apache) probably redirects the domain to I can verify this once you posted the VHOST configuration.

Since you haven’t setup the www DNS setting, this will not resolve to your droplets IP. To fix this either setup an A record that resolves www or a global resolve 1:

www     IN      A


*     IN      A

Once the DNS settings have been applied at your IPS, you will be able to use both and to resolve your webserver IP.

BTW: You can also setup an A record that resolves to your server IP. You can then use CNAME’s for all other DNS records that needs to be resolved to the server IP. This saves time, because you don’t have to use the IP all the time:

server1    IN    A
www    IN    CNAME    server1

You can use anything you like to resolve to your server.

Hope this helps you out!

Thank you very much, just in case, thats the new settings, right?!

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.

I quote: Since you have the nameservers redirected to digitalocean you would need to configure it at DO

This means you need to configure the DNS at DIGITALOCEAN. Please post the DNS config of DO