Page 1 of 1

How to add multiple websites on XAMPP

PostPosted: 26. June 2007 22:23
by pathfinder80
Hi,

I would like to know to add multiple websites on XAMPP. I have already developed a internal web application on XAMPP that is being used by a team within our office. When I type in http://USBSTRANS1 (where USBSTRANS1 is the server name) in the browser the first web application that I devloped opens.Now I have to create another web application on XAMPP for a different team. I am planning to create the URL for my second web application as http://USBSTRANS1.Localizationtools. Please let me know how to create multiple web application on XAMPP.

Thanks! in advance...

PostPosted: 26. June 2007 22:28
by Wiedmann
You have a DNS server in your internal network?

PostPosted: 26. June 2007 22:35
by pathfinder80
Yes! USBSTRANS1 is the name of the server.

PostPosted: 26. June 2007 22:44
by Wiedmann
Ok, then
- 1st: add a DNS entry for the name "USBSTRANS1.Localizationtools" in your DNS server.
- 2nd: setup two namebased vhosts. the first for "USBSTRANS1", and the second for "USBSTRANS1.Localizationtools".
http://httpd.apache.org/docs/2.2/vhosts/

PostPosted: 26. June 2007 22:48
by pathfinder80
Sorry! I answered your question wrong. I dont have a DNS server.

PostPosted: 26. June 2007 23:02
by Wiedmann
Ok, then the first step is:
change the HOSTS file from each pc on you LAN/workgroup and add an entry for the additional name ("USBSTRANS1.Localizationtools").

PostPosted: 26. June 2007 23:12
by davidspan

PostPosted: 27. June 2007 16:26
by pathfinder80
Thanks! alot. It seems to work.