Question

ERR_NAME_NOT_RESOLVED Error

Hi,

I had this working fine before, but then I tried to get HTTPS working. I obtained a valid certificate, but It wouldn’t load, so I removed the HTTPS settings in the Nginx file to try and just get the site to load again. My website is northvillelandscapes.com and I am receiving a ERR_NAME_NOT_RESOLVED when I attempt to visit the site. The Nginx file reboots with an OK

DNS settings on DO:

A	
northvillelandscapes.com Copy	directs to 
165.227.113.170 Copy	
3600 Copy
A	
www.northvillelandscapes.com Copy	directs to 
165.227.113.170 Copy	
3600 Copy	

Here is the Nginx file that loads fine.


server {
        listen 80 default_server;
        listen [::]:80 default_server;

        root /srv/www/northvillelandscapes.com/html;
        index index.html index.htm;

        # Make site accessible from http://localhost/ 
        server_name northvillelandscapes.com www.northvillelandscapes.com;
    

        location / {
                # First attempt to serve request as file, then
                # as directory, then fall back to displaying a 404.
                try_files $uri $uri/ =404;
                # Uncomment to enable naxsi on this location
                        
                }
}
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.

Accepted Answer

I solved it, the problem was my own DNS server at my home. I changed it to google dns server in IP4 Properties (8.8.8.8, 8.8.4.4)

The following are the solutions to this error. You can try them one by one and see if they are helpful.

  1. Clear browser cookies

  2. Flush and renew DNS

  3. Change DNS address to Google Public DNS

  4. Check your Firewall and Security Software

  5. Power cycle your router

Chase Credit Card Login

He looks like its a browser cache issue, because on my laptop is does not work and on my Iphone off WIFI it works…

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