Why am I getting 'This site can’t be reached ...' on Nginx Server Block?

Hello All,

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 (

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 ERR_NAME_NOT_RESOLVED’

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 ‘’ 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 ‘’ 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.

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.


You need to keep the full domain name in your server_name list. Having only the first part of the domain without the domain extension would not work.

Have you tried adding http:// in your browser before your domain to see if that would work?

Can you share your Nginx config here so that I could try and advise you further?

Regards, Bobby