How to install IIS and Apache web server on the same computer

There are many ways to install IIS and Apache web server on the same computer. One easy way is to make IIS listen on the standard port that is 80 and make Apache web server listen on the other port that is 8080.

To make Apache web server listen on the 8080 port

Locate the following code in your Apache httpd.conf file:

# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80
Listen 80

Change Listen 80 to Listen 8080.

Restart your Apache web server.

Now, both of your servers run on the same machine. You can try by opening your web browser and type:

No comments:

Post a Comment

Blog Archive

About Me

My photo
I am a software developer with roughly 5 years of experience in developing end-to-end solutions in C#, Java, C/C++, PHP and HTML/CSS/Javascript. At the moment, I am joining the Professional Doctorate in Engineering degree program in Software Technology at Eindhoven University of Technology. My areas of particular interest include software design, data structures and algorithms, problem solving, software security, embedded system, machine learning, and data science.