Results 1 to 3 of 3
Thread: Virtual Hosts
Threaded View
-
04-08-2004, 11:10 PM #1Web Hosting Master
- Join Date
- May 2001
- Location
- Prince Edward Island
- Posts
- 965
Virtual Hosts
I cant figure this out. the conf reads ( for virtual hosts )
<VirtualHost *:80>
ServerAdmin webmaster@domain.com
DocumentRoot /web/control/
ServerName control2.domain.com
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster@domain.com
DocumentRoot /web/hosted/forums/
ServerName forums.domain.com
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster@domain.ca
DocumentRoot /web/hosted/fishing/
ServerName fishing.domain.com
DirectoryIndex index.html, index.php
</VirtualHost>
When I goto control.domain.com or forums.domain.com I get the correct site, but when I goto fishing.doamin.com I get the forums.[url]I got nothing/url]
For clarity's sake, don't use "<ip address of hostname>" use the ACTUAL 32-bit numeric IP address of the machine.