Nginx and subdomains (and dyndns)
lists at ruby-forum.com
Wed Mar 12 02:39:59 MSK 2008
Has anyone setup a server running Nginx and subdomains?
Currently my test server on a dynami IP has a domain at DynDns it is
something like: mysite.ath.cx
What I am trying to do is have subdomains/virtualhosts with Nginx only
listening on port 80 and redirecting where it needs to go.
For instance, Phpmyadmin should appear when typing:
And obviously my main website is located at:
The problem is that currently, whathever I type like:
it is always the main website that appears.
If I type http://phpmyadmin.mysite.ath.cx, it is still the main website
For the main site, I have currently:
And for Phpmyadmin:
(phpmyadmin.mysite.ath.cx didn't work)
And for PunBB:
but this doesn't do the trick.
So how to define the virtualhosts? Are there any other file to check?
Posted via http://www.ruby-forum.com/.
More information about the nginx