This is a discussion on Help! pt 2 Virtual Hosting within the Apache Web Server forums, part of the Web Server and Related Forums category; Ok.....so I got two websites to work on my computer with the following config....I have changed the obvious. ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Ok.....so I got two websites to work on my computer with the following
config....I have changed the obvious. It seems now though that at first each page was serving fine...now both addresses point to the same page. What the heck am I doing wrong here? I am very close to just getting a hosting service. I have attached the conf part that applies. Thanks in advance. NameVirtualHost * <VirtualHost *> ServerName website1.net DocumentRoot C:/htdocs ServerAlias website1.net </VirtualHost> <VirtualHost *> ServerName website2.net DocumentRoot C:/blog ServerAlias website2.net </VirtualHost> at first this config was serving two seperate pages respectively....now they both serve the primary/default.....I am so frustrated by this....any help would be great. Aaron |