Results 1 to 8 of 8
Thread: Virtual Hosts(apache)
-
10-10-2006, 08:56 PM #1WHT Addict
- Join Date
- Aug 2006
- Posts
- 125
Virtual Hosts(apache)
I'm having problems with my virtualhost settings...if anyone could help i would HIGHLY appreciate it!
Code:NameVirtualHost *:80 <VirtualHost *> ServerAdmin arshem@comcast.net DocumentRoot C:/wamp/www/ratemy ServerName ratemyfriends.net ServerAlias ratemyfriends.net *.ratemyfriends.net </VirtualHost> <VirtualHost *> ServerAdmin arshem@comcast.net DocumentRoot C:/wamp/www/arshemn ServerName arshem.net ServerAlias arshem.net *.arshem.net </VirtualHost> <VirtualHost *> ServerAdmin arshem@comcast.net DocumentRoot C:/wamp/www/lynch ServerName lynchmotorsports.com ServerAlias lynchmotorsports.com *.lynchmotorsports.com </VirtualHost>
Any Sollutions?
-
10-10-2006, 11:59 PM #2Disabled
- Join Date
- Apr 2005
- Location
- Cochin
- Posts
- 2,452
i see the domain resolving fine..what is the issue with it ?
-
10-11-2006, 12:04 AM #3WHT Addict
- Join Date
- Aug 2006
- Posts
- 125
The problem is arshem.net, lynchmotorsports.com and ratemyfriends.net are all coming up as the same page...
-
10-11-2006, 12:05 AM #4Web Hosting Master
- Join Date
- May 2006
- Posts
- 560
Yep, everything seems to be working... Unless your talking about all three domains going to the same place... Could you clarify?
-
10-11-2006, 12:10 AM #5Web Hosting Master
- Join Date
- May 2006
- Posts
- 560
I just had to stop and think....
Use:
<VirtualHost *:80>
ServerAdmin arshem@comcast.net
DocumentRoot C:/wamp/www/ratemy
ServerName ratemyfriends.net
ServerAlias ratemyfriends.net *.ratemyfriends.net
</VirtualHost>
It has to match your NameVirtualHost *:80Last edited by Red-Rabbit-Hosting; 10-11-2006 at 12:14 AM.
-
10-11-2006, 12:19 AM #6Disabled
- Join Date
- Apr 2005
- Location
- Cochin
- Posts
- 2,452
try replacing
"<VirtualHost *> " with " <VirtualHost ipaddress>"
-
10-11-2006, 12:21 AM #7WHT Addict
- Join Date
- Aug 2006
- Posts
- 125
Works perfectly now , thanks mate!!!
-
10-11-2006, 12:27 AM #8Web Hosting Master
- Join Date
- May 2006
- Posts
- 560
Originally Posted by arshem