Networking Forums

Networking Forums > Computer Networking > Windows Networking > Question about server on windows xp home.

Reply
Thread Tools Display Modes

Question about server on windows xp home.

 
 
GamePlayer No. 1058
Guest
Posts: n/a

 
      09-30-2005, 04:34 PM
Hello,
I've installed apache for windows, perl, and mysql on my spare xp box
(2.8ghz 2gb ram, two 250gb drives), my problem is this, I only want to run 2
sites, but we only have one ip address, and I've read up on it, but Im
totally lost, can anyone tell me what I have to put in my htttp.conf file
in this area:

# 127.0.0.1 is the TCP/IP local loop-back address, often named localhost.
Your
# machine always knows itself by this address. If you use Apache strictly
for
# local testing and development, you may use 127.0.0.1 as the server name.
#
ServerName mydomain1.com


# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at <URL:http://www.apache.org/docs/vhosts/>
<BEEN THERE, DIDNT HELP MUCH
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.

#
# Use name-based virtual hosting.
#
NameVirtualHost MYDOMAIN2.com

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.


# The first VirtualHost section is used for requests without a known
# server name.


<VirtualHost mydomain2:80>
ServerAdmin webmaster@mydomain2
DocumentRoot /www/docs/mydomain2.com
ServerName imydomain2.com
ErrorLog logs/mydomain2.com-error_log
CustomLog logs/mydomain2.com-access_log common
</VirtualHost>

Is this correct and once the domain2 propegates then it will find the site?
And would you do this if I wanted to add a third domain


 
Reply With Quote
 
 
 
 
GamePlayer No. 1058
Guest
Posts: n/a

 
      09-30-2005, 05:02 PM
Sorry, wrong group to be asking, alt. apache.configuration would be better.

My apologies.


 
Reply With Quote
Reply

Thread Tools
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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HP Smartmedia - Windows Home Server Jack Ouzzi Home Networking 0 08-12-2008 05:52 AM
Windows Home Server or Windows Server (2008 or 2003)..? Simon Coupland Home Networking 3 11-17-2007 10:23 PM
windows home server Philip Saunders Windows Networking 2 01-13-2007 09:59 PM
can't browse workgroup on Windows Server with XP Home news.microsoft.com Windows Networking 5 01-10-2006 12:26 PM
Windows XP home/pro networking question RCE Defiant Home Networking 3 09-19-2003 06:50 PM



1 2 3 4 5 6 7 8 9 10 11