Thursday, February 27, 2020

How To Run XAMPP & IIS Together On Same Machine?

How to use XAMPP & IIS together? Well, working together on both IIS & XAMPP can really be a tricky task for beginners. The main aim of this article is to help beginners to get XAMPP Apache Server and IIS server works together. Since port 80 is also used by IIS, we need to change XAMPP port 80 to another port number which is not used by any other service.
XAMPP: XAMPP is a free and open source cross-platform web server developed by Apache Friends. It is a simple, lightweight distribution that makes it extremely easy for developers to create a local web server for testing purposes.
IIS: IIS stands for Internet Information Services (formerly Internet Information Server). It is a web server developed by Microsoft which is used for development and testing purposes. It supports HTTP, HTTPS, FTP, FTPS, SMTP and NNTP.

Steps Required To Run XAMPP & IIS together

1. Download XAMPP and proceed with the installation process.
2. Once the installation is successfully completed, you need to go to this directory inside your XAMPP folder:/xampp/apache/conf/httpd.conf
3. Search forListen 80 and replace it with Listen 8080
4. Now, search forServerName localhost:80 and replace it with ServerName localhost:8080
5. Save this file and close it.
6. After completing these steps, go to this directory:/Xampp/apache/conf/extra/httpd-ssl.conf
7. Search forListen 443 and replace it with Listen 4499
8. Now, search forVirtualHost _default_:443> and replace it with VirtualHost _default_:4499>
9. Search forServerName localhost:443 and replace it with ServerName localhost:4499
10. You are done with the configuration, now you can save & close the file.
Now, you can run your XAMPP & IIS together.


http://localhost:8080/

No comments:

Post a Comment

Classic ASP file upload limit of 200kb in IIS 7

  Classic ASP file upload limit of 200kb in IIS 7   September 15, 2010     The Amixa Web Guru     IIS Tips & Tricks ,  Windows Server Du...