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 104.248.243.249
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 {
listen 127.0.0.1;
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.
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.
Click below to sign up and get $100 of credit to try our products over 60 days!
@alexdo
I have the same Issue with exact respond for my domain busboy.app
https://www.whatsmydns.net/ propagarion data
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/
Regards, Alex