Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / operating-systems / Windows

Install Xampp co-existing with IIS

5.00/5 (5 votes)
27 Aug 2013Apache 29.5K  
A very simple article that describes installing Xampp localhost server on Windows with IIS installed, that may help everybody with the known issue of port 80.

Xampp Sample Image

Introduction

The main aim of this article is to help beginners to get Xampp Apache Server and IIS server to work together since there is an issue due to port 80. So we have to change Xampp port 80 to another port number (not used by any other service).

Use the following steps:

  1. Download Xampp from the official website or directly from this link
  2. After successful installation of Xampp, go to this directory inside your Xampp folder: /Xampp/apache/conf/httpd.conf
  3. Search for Listen 80 and replace it with Listen 8080
  4. Search for ServerName localhost:80 and replace it with ServerName localhost:8080
  5. Save this file and close it
  6. Then go to this directory: /Xampp/apache/conf/extra/httpd-ssl.conf
  7. Search for Listen 443 and replace it with Listen 4499
  8. Search for VirtualHost _default_:443> and replace it with VirtualHost _default_:4499>
  9. Search for ServerName localhost:443 and replace it with ServerName localhost:4499
  10. Save this file and close it
  11. Congratulations, we are done. You can run your Apache service using Xampp Control Panel.

OR

Hope this was a helpfull post for everyone that has a problem with Xampp and IIS installation. Feel free to contact me at anytime.

License

This article, along with any associated source code and files, is licensed under The Apache License, Version 2.0