Title: Virtual Hosts

I'm trying to setup 2 virtual hosts on the same IP.  Here's what my configuration looks like:

Listen myservername:80
Listen myotherserver:8080

NameVirtualHost myservername:80
NameVurtualHost myotherserver:8080

<VirtualHost myservername:80>
DocumentRoot /path/to/htdocs
ServerName myservername
</VirtualHost>

<VirtualHost myotherserver:8080>
DocumentRoot /path/to/htdocs
ServerName myotherserver
</VirtualHost>

This is running on a Solaris 8 host. Using lsof, I can see a 'LISTEN' for both ports. When I open IE and type in the url for 'myotherserver', I get the page for 'myservername'. The DocumentRoot statement points to different paths for each.  Any thoughts?

Thanks…

Reply via email to