Web Servers on Windows - How to have multiple sites?

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Windows > January 2005 > How to have multiple sites?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How to have multiple sites?
pat

2005-01-06, 8:47 pm

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

Lardy

2005-01-08, 2:46 am

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/C...osts-in-Apache/
http://dev.panopticsearch.com/virtual-hosts.html
http://www.mezzoblue.com/archives/2..._host/index.php

Lardy


"pat" <patriarck@gmail.com> wrote in message
news:1105057489.698545.149350@z14g2000cwz.googlegroups.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
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com