Site does not appear when I installed NGINX

September 12, 2014 977 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 ns1.digitalocean.com, ns2.digitalocean.com and to ns3.digitalocean.com.
  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
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!

Have another answer? Share your knowledge.