How to add multiple websites on XAMPP

Problems with the Windows version of XAMPP, questions, comments, and anything related.

How to add multiple websites on XAMPP

Postby pathfinder80 » 26. June 2007 22:23

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...
pathfinder80
 
Posts: 12
Joined: 26. June 2007 22:13

Postby Wiedmann » 26. June 2007 22:28

You have a DNS server in your internal network?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby pathfinder80 » 26. June 2007 22:35

Yes! USBSTRANS1 is the name of the server.
pathfinder80
 
Posts: 12
Joined: 26. June 2007 22:13

Postby Wiedmann » 26. June 2007 22:44

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/
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby pathfinder80 » 26. June 2007 22:48

Sorry! I answered your question wrong. I dont have a DNS server.
pathfinder80
 
Posts: 12
Joined: 26. June 2007 22:13

Postby Wiedmann » 26. June 2007 23:02

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").
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby davidspan » 26. June 2007 23:12

XAMPP is one of the topics I write about
MyBlogIt!
davidspan
 
Posts: 47
Joined: 25. June 2007 01:59

Postby pathfinder80 » 27. June 2007 16:26

Thanks! alot. It seems to work.
pathfinder80
 
Posts: 12
Joined: 26. June 2007 22:13


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 67 guests