Hi I’m trying to connect to my website and I got this following error in Chrome: ERR_NAME_NOT_RESOLVED

I have run nginx -t as well as tail /var/log/nginx/error.log with no luck.

DNS OUTPUT from https://network-tools.com/nslookup:

Name    TTL Until Refresh   Class   Type    Data
loveofportugal.com. 3492    IN  A
loveofportugal.com. 1691    IN  NS  ns1.digitalocean.com.
loveofportugal.com. 1691    IN  NS  ns2.digitalocean.com.
loveofportugal.com. 1691    IN  NS  ns3.digitalocean.com.
loveofportugal.com. 1692    IN  SOA ns1.digitalocean.com. hostmaster.loveofportugal.com. 1574866016 10800 3600 604800 1800

NGINX Sites-enabled file:

server {

        root /var/www/loveofportugal.com/public;

        # Add index.php to the list if you are using PHP
        index index.html index.htm index.nginx-debian.html index.php;

        server_name loveofportugal.com www.loveofportugal.com;

        location / {
                try_files $uri $uri/ /index.php?$query_string;

        location ~ \.php$ {
                include snippets/fastcgi-php.conf;
                fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
                fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                include fastcgi_params;

        location ~ /\.ht {
                deny all;

I use GoDaddy as Domain hoster. All of the nameservers are pointing to digitalocean.

edited by MattIPv4

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.

Submit an Answer
2 answers

Hello, @brittwittrup

Can you please confirm if your domain name is resolving/pointing to your droplet/server? What happens when you ping the domain name? If you’ve made any recent DNS changes, keep in mind that DNS changes might take up to 48 hours due to DNS cache. You can check the DNS propagation using this site: https://www.whatsmydns.net/



I have the same Issue with exact respond for my domain busboy.app

DNS OUTPUT from https://network-tools.com/nslookup:
Name    TTL Until Refresh   Class   Type    Data
busboy.app. 3600    IN  A
busboy.app. 1800    IN  NS  ns1.digitalocean.com.
busboy.app. 1800    IN  NS  ns2.digitalocean.com.
busboy.app. 1800    IN  NS  ns3.digitalocean.com.
busboy.app. 1800    IN  SOA ns1.digitalocean.com. hostmaster.busboy.app. 1575337665 10800 3600 604800 1800
$ ping busboy.app
PING busboy.app ( 56(84) bytes of data.
64 bytes from ( icmp_seq=1 ttl=49 time=108 ms
64 bytes from ( icmp_seq=2 ttl=49 time=259 ms
64 bytes from ( icmp_seq=3 ttl=49 time=100 ms
64 bytes from ( icmp_seq=4 ttl=49 time=106 ms
--- busboy.app ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 100.942/143.772/259.335/66.777 ms

https://www.whatsmydns.net/ propagarion data

Reston VA, United States
Dallas TX, United States
Ashburn VA, United States
Boston MA, United States
New York NY, United States
London ON, Canada
Golden Triangle
Sao Paulo, Brazil
Universo Online
London, United Kingdom
Paris, France
France Telecom
Berlin, Germany
Bologna, Italy
Yeditepe, Turkey
Yeditepe University
St. Petersburg, Russia
Uni of Tech & Design
Karachi, Pakistan
My Solutions
Bhubaneswar, India
Ortel Communications
Bangkok, Thailand
Loxley Wireless
Petaling Jaya, Malaysia
Beijing, China
Malvern VIC, Australia
TPG Internet
Coolum Beach QLD, Australia
Rotorua, New Zealand
Global Gateway
edited by MattIPv4