Virtual Hosts

This is a discussion on Virtual Hosts within the Windows Web Servers forums, part of the Web Server and Related Forums category; Hi, I have an Apache 2.0.49 set up on Xp Pro. Apache is installed into its default directory&...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-11-2004
CKY
 
Posts: n/a
Default Virtual Hosts

Hi, I have an Apache 2.0.49 set up on Xp Pro.
Apache is installed into its default directory>
C:\Program Files\Apache Group\Apache2.

I have split Htdocs into two different folders. C:\Program
Files\Apache Group\Apache2\htdocs\1
and
C:\Program Files\Apache Group\Apache2\htdocs\2
Both of those folders have index.html.var and a default webpage.
How do I configure httpd.conf to serve two of those websites under
different domain names.
Do I have to configure anything else besides that text file? Please
respond. I thank you in advance.
  #2 (permalink)  
Old 10-11-2004
Jim Patterson
 
Posts: n/a
Default Re: Virtual Hosts

CKY wrote:
> Hi, I have an Apache 2.0.49 set up on Xp Pro.
> Apache is installed into its default directory>
> C:\Program Files\Apache Group\Apache2.
>
> I have split Htdocs into two different folders. C:\Program
> Files\Apache Group\Apache2\htdocs\1
> and
> C:\Program Files\Apache Group\Apache2\htdocs\2
> Both of those folders have index.html.var and a default webpage.
> How do I configure httpd.conf to serve two of those websites under
> different domain names.
> Do I have to configure anything else besides that text file? Please
> respond. I thank you in advance.


It's all explained here http://localhost/manual/vhosts/ . I assume that
since you have Apache installed, that "localhost" should work for you,
or you can substitute the host name that you set up Apache on. If not,
it's on their web site also.

Since you want to distinguish sites based on their domain name, read the
section on "Name-based Virtual Hosts".
--
Jim Patterson
Ottawa, Ont
CANADA
 


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

vB 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 01:06 PM.


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