Virtual Hosts Issue on Nginx

February 3, 2014 1.1k views
Hi, so I set up my two sites by using the article posted here: However, when I navigate to the second site I setup it displays the first site instead, so I have two domains pointing to the same content. I had this issue once already and reset my droplet to start over anew just in case I had messed something up installing everything... but it still persists. I am on Ubuntu 12.04.3 x64 with a standard LEMP stack, nothing else installed. First site 'sites-available' file: Second site 'sites-available' file: Thanks in advance. -Z
3 Answers
Do both files exist in sites-enabled?
They are symbolic links back to the sites-available files. I just made sure that they are linked and it appears they are.

If I try to navigate to and edit the sites-enabled directory, it opens the sites-available. Which is I believe working correctly.
Hmm. Have you tried restarting nginx?
Have another answer? Share your knowledge.