i am running a ec2 instance, and I had a wordpress blog on that server for domain#1.
Today I pointed domain#2, setup the directory and nginx etc.
Going to www.domain#2.com I am seeing the content for domain#1.
What do I have to do so each domain is mapped correctly? I thought that was what the nginx file was for that I created for each domain?
Best Answer
Virtual Hosts are your friend.
http://wiki.nginx.org/NginxVirtualHostExample