ERR_NAME_NOT_RESOLVED Error

July 15, 2018 978 views
Nginx DNS Ubuntu 16.04

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 ERRNAMENOT_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

                }
}
1 comment
3 Answers
3166 July 15, 2018
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)

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

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

Have another answer? Share your knowledge.