Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I would like to run two XAMPP apache servers and mysql on one Windows computer. My first idea was to run one under directory XAMPP, the other under XAMPP_B.

Why you ask? I have two applications that have to be in the "root" directory of localhost.

Both servers do not have to be active at same time, so I don't think I will have any conflicts

I will have to modify my.cnf in mySQL httpd.conf, apache_start and maybe other config files as well.

Or maybe someone can suggest a better way...

share|improve this question

migrated from stackoverflow.com Apr 6 '10 at 5:40

This question came from our site for professional and enthusiast programmers.

Can't you make a root landing page and redirect based on certain parameters? –  Anonymous Apr 6 '10 at 3:35

1 Answer 1

I've suggested that this be moved to ServerFault.com

Why not run both on different ports? e.g 80 and 81?

share|improve this answer
I thought you were joking... but then I checked... a sister site for clueless sys admins! –  harry_T Apr 6 '10 at 3:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.