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&...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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. |
|
|||
|
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 | |
|
|