Go Back  HTML Forums - Free Webmaster Forums and Help Forums > SERVER ADMINISTRATION > Other Server Types
User Name:
Password:
 

Reply
Thread Tools   Display Modes
  View First Unread
 
Old 06-03-2006, 12:31 AM
  #1
swanley007
Aspirant (Level 2)
 
Join Date: May 2006
Posts: 15
iTrader: (0)
swanley007 is an unknown quantity at this point
Virtual Host Help -- Apache

Hello All;

I have an apache server running on a windows machine. I am trying to do virtual hosting (name based) so that I can have two sites on one IP. My domain and DNS host godaddy says it is ready on there end. I cannot get it to work though.

Here is my virtual host syntax:
NameVirtualHost 66.211.238.83

<VirtualHost 66.211.238.83>
ServerName www.stans****.com
DocumentRoot "C:/Program Files/xampp/htdocs/sites/stans****.com/site/web"
ErrorLog "C:/Program Files/xampp/htdocs/sites/stans****.com/local-logs/error.log"
CustomLog "C:/Program Files/xampp/htdocs/sites/stans****.com/local-logs/access.log" combined
</VirtualHost>

<VirtualHost 66.211.238.83>
ServerName www.s****computingsolutions.com
DocumentRoot "C:/Program Files/xampp/htdocs/sites/s****computingsolutions.com/site/web"
ErrorLog "C:/Program Files/xampp/htdocs/sites/s****computingsolutions.com/local-logs/error.log"
CustomLog "C:/Program Files/xampp/htdocs/sites/s****computingsolutions.com/local-logs/access.log" combined
</VirtualHost>




here is my windows/system32/drivers/etc/hosts file:

127.0.0.1 localhost
127.0.0.1 www.stans****.com
127.0.0.1 www.s****computingsolutions.com




I hope someone can help!!!

PS I am going on vacation to FL. I will try to check back while gone, but please don't quit if you don't hear bac right away.

Thanks in advance
swanley007 is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 06-03-2006, 12:40 AM
  #2
swanley007
Aspirant (Level 2)
 
Join Date: May 2006
Posts: 15
iTrader: (0)
swanley007 is an unknown quantity at this point
Also as an update when I do navigate to www.stans****.com or www.s****computingsolutions.com

I get the directory structure as seen in htdocs
swanley007 is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote

Reply
KEEP TABS
SPONSORS
 
Boxedart
 
 


 
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
  
 
 
 



 
  POSTING RULES
 
 
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Thread Tools
Display Modes

Forum Jump

 

All times are GMT -5. The time now is 08:25 PM.

   

Mascot team created by Drawshop.com

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Server Monitoring by ENIACmonitor 0.01
HTMLforums.com © Big Resources, Inc. Web Design by BoxedArt.com
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.