Bluehost.com Web Hosting $6.95

How to have multiple sites?

This is a discussion on How to have multiple sites? within the Windows Web Servers forums, part of the Web Server and Related Forums category; Hi Freinds, I am pretty new in APache http server. I just installed apache 2 on my xp machine. it ...


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 01-07-2005
pat
 
Posts: n/a
Default How to have multiple sites?

Hi Freinds,
I am pretty new in APache http server. I just installed apache 2 on my
xp machine. it is workig fine. I have d:\website folder where I keep 5
subfolders and have 5 websites.
D:\website\site1
D:\website\site2
.....
How can I setup config file to be able to access all 5 sites as:
http://localhost/site1
http://localhost/site2
.....
I've dont it in IIS but as far I'm new in Apache, I don't now how to do
it.

Please advise.

Thanks,
Pat

  #2 (permalink)  
Old 01-08-2005
Lardy
 
Posts: n/a
Default Re: How to have multiple sites?

You need to use the <VirtualHost> directive. Browse to C:\Program
Files\Apache Group\Apache2\conf\httpd.conf and the last lines of the file.
Enter your information here. For more information see...

http://httpd.apache.org/docs/vhosts/
http://www.devshed.com/c/a/Apache/Co...sts-in-Apache/
http://dev.panopticsearch.com/virtual-hosts.html
http://www.mezzoblue.com/archives/20...host/index.php

Lardy


"pat" <patriarck@gmail.com> wrote in message
news:1105057489.698545.149350@z14g2000cwz.googlegr oups.com...
> Hi Freinds,
> I am pretty new in APache http server. I just installed apache 2 on my
> xp machine. it is workig fine. I have d:\website folder where I keep 5
> subfolders and have 5 websites.
> D:\website\site1
> D:\website\site2
> ....
> How can I setup config file to be able to access all 5 sites as:
> http://localhost/site1
> http://localhost/site2
> ....
> I've dont it in IIS but as far I'm new in Apache, I don't now how to do
> it.
>
> Please advise.
>
> Thanks,
> Pat
>



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 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 12:20 AM.


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