Problem with subdomain in localhost.
nginx-forum at nginx.us
Sun Aug 4 20:21:38 UTC 2013
Hello! I am trying to create subdomains in my localhost. I want for instance
2 domains, fil.localhost and test.localhost that point to 2 different
locations. Although I have managed to accomplish that there is a problem
with my localhost: it points to a location too (actually in fil.localhost)
and I can't find out why.
Here is the configuration of the fil.localhost http://pastebin.com/TKt37aNz
(test.localhost is exactly the same except that istead of fil.localhost in
server_name, it has test.localhost)
Also, here http://pastebin.com/TUZmLwiw is my /etc/hosts list.
I haven't touched nginx.conf or any other file.
Any suggestions are really welcomed :D
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,241554,241554#msg-241554
More information about the nginx