Welcome! Log In Create A New Profile


Problem with subdomain in localhost.

August 04, 2013 04:21PM
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
Subject Author Posted

Problem with subdomain in localhost.

vasilakisfil August 04, 2013 04:21PM

Re: Problem with subdomain in localhost.

B.R. August 04, 2013 04:38PM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 58
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 214 on March 20, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready