Report this

What is the reason for this report?

Site does not appear when I installed NGINX

Posted on September 12, 2014

Hi,

  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.



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!

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.

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

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:

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.