Question
Virtual Hosts Issue on Nginx
Hi, so I set up my two sites by using the article posted here: https://www.digitalocean.com/community/articles/how-to-set-up-nginx-virtual-hosts-server-blocks-on-ubuntu-12-04-lts--3
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:
http://pastebin.com/9p178DJc
Second site 'sites-available' file:
http://pastebin.com/sLWgCRhV
Thanks in advance.
-Z
Add a 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.
×