I have the following problem - the virtual hosts, that I added show me the default virtual host instead of the respective directories that I have specified. My httd-vhosts.conf is the following:
NameVirtualHost *:80
<VirtualHost *:80>
ServerName jdbg.dyndns.ws
DocumentRoot "D:\www-default\localhost"
</VirtualHost>
<VirtualHost *:80>
ServerName jdbg1.dynalias.com
DocumentRoot "D:\www-default\jdbg1"
</VirtualHost>
My hosts file is:
127.0.0.1 localhost
127.0.0.1 jdbg.dyndns.ws
127.0.0.1 jdbg1.dynalias.com
When I open any of this vhosts locally it is fine. When I open it from the internet, via the domains above - it opens only the default vhost (i.e. jdbg.dyndns.ws)
Any ideas what I've done wrong?