We have to host two web sites, for example, www.mytestsite1.com and 
www.mytestsite2.com with one computer and one IP address.

When user access the websites, the router will route the requests to my local 
IP address, for example 192.168.1.100.

 <VirtualHost 192.168.1.100>
ServerName www.mytestsite1.com
...
</VirtualHost>

<VirtualHost 192.168.1.100>
ServerName www.mytestsite2.com
...
</VirtualHost>

Apache route all of the requests to www.mytestsite1.com even we start the 
requests with http://www.mytestsite2.com.

In IIS, we can create websites with IP address, port and host header, the 
requests can be routed to the specified sites.


Does the Apache support the host header based virtual hosting?

If yes, can anyone show me how to do it?

If not, is there any software based router that can support host-header routing 
for http requests?





Thanks
Tom
 
---------------------------------
Don't be flakey. Get Yahoo! Mail for Mobile and 
always stay connected to friends.

Reply via email to