Why am I getting 'This site can’t be reached ...' on Nginx Server Block?
I have setup a LEMP One-Click Droplet on Ubuntu 18.04, and then went to the next recommended step of creating/setting up Nginx Server Blocks (https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-server-blocks-virtual-hosts-on-ubuntu-16-04)
I tried this the other night fully manually, and was running into the same issue, so I opted to go the One-Click route this time hoping to resolve any issues.
Unfortunately, when trying to access my domain name (which I have pointed to my Droplet’s IP address) I am getting a page which reads…
‘This site can’t be reached 'example’.rip’s server IP address could not be found.
Search Google for very bad things rip
I can’t for the life of me figure out what is causing this. My config file’s server_name for this site is pointing to 'example.rip’ and www.'example’.rip. Is the issue that my website is using a ’.rip’ domain name? I wasn’t able to save my config file as 'example.rip’ because it then turns that file into a .RIP file – so I opted to just save it as 'example’ but from what I can see from the DO default file it saved in there I shouldn’t need to use the full domain name for the config file as long as the settings inside are correct?
Let me know what I need to provide to help resolve this issue.