Site does not appear when I installed NGINX

Posted September 12, 2014 2.7k views


  1. I created a droplet.
  2. I added a domain via DNS to the droplet.
  3. I updated the droplet and upgraded it with the commands apt-get update and apt-get upgrade
  4. I changed the NS for the domain to, and to
  5. I added A records and AAAA records for the domain which point to the droplets IP.
  6. I installed nginx with the command apt-get install nginx
  7. I did service nginx start

But when I visit the domain it is empty… No welcome to NGINX message… the site is empty?

If anyone can help me with this I would be happy.

1 comment

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

Adding to @valerian’s comment, also note that it can take a few hours before DNS records propagate completely. Try visiting the IP address in your browser, you should see the Nginx welcome page. If not, you might want to check out:

by Justin Ellingwood
Nginx is one of the most popular web servers in the world. It is extremely flexible and powerful and can be used to efficiently host sites and applications small or large sites and applications. In this guide we'll cover how to install and set this up on an Ubuntu 14.04 server.

It works now! I had a CNAME error in the DNS of the domain. After I removed it the site started to work!