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

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?!

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

Try DigitalOcean for free

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

Sign up

Featured on Community

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