Running Xampp and IIS on same PC

by Srinath on April 23, 2009

I tried to run both IIS and Xampp (apache) on same server but at first it didnt work. All web servers work on default port 80. So inorder to make Xampp work on IIS installed server then you need to change the xampp (apache) port to different. In order to run xampp on different port you need to edit the httpd.conf file.

C:\xampp\apache\conf\httpd.conf:

Search for “Listen 80″, change to “Listen 70″
Search for “ServerName localhost:80″, change to “ServerName localhost:70″

To make SSL work edit the following file

C:\xampp\apache\conf\extra\httpd-ssl.conf

Search for “Listen 443″, change to “Listen 4421″
Search for “ServerName localhost:443″, change to “ServerName localhost:4421″
Search for VirtualHost _default_:443>, change to VirtualHost _default_:4421>

Now restart Apache and you are done now. you have to access xampp throught http://localhost:70 and SSL via https://localhost:4421

Alternatively you can run Xampp by disabling IIS and vice verse.

Leave a Comment

Previous post:

Next post: