Help! pt 2 Virtual Hosting

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. ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-14-2005
Aaron
 
Posts: n/a
Default Help! pt 2 Virtual Hosting

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


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:58 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0