Solved

Using IIS and Apache together...

Posted on 2006-11-14
4
874 Views
Last Modified: 2012-06-21
I have IIS installed on my development machine and wanted to install XAMPP (Apache, MySQL, PHP, etc...).  I did get everything installed and now I here I have to change the Apache port to 8080.  I tried changing the "listen" line in the "httpd.conf" file and when I tried to start Apache it ran for a few seconds and stopped.  I changed the values in the .conf file back and turned of IIS and Apache started and is running fine.

Any suggestions?

I am also wondering if I can change the port number for IIS instead of Apache since I will be using PHP much more often than IIS and ASP?  I just hate having to add the port number all the time... any help is appreciated.  I need to get this resolved quickly.
0
Comment
Question by:lsolheim
4 Comments
 
LVL 18

Expert Comment

by:Sam Panwar
ID: 17943564
Hi,

Have you checked in the event viewer about it please check the event viewer for the error and uupdate us what is the event viewer says.

I think you are getting problem because in your system another service is also running on the 8080 so please check which service is running on that port and update me.

check port by netstat command

go to command prompt and check
0
 
LVL 32

Expert Comment

by:shalomc
ID: 17948726
To change port in IIS:
Open web site properties, change TCP port to whatever you fancy, restart IIS.

ShalomC
0
 
LVL 23

Accepted Solution

by:
rama_krishna580 earned 500 total points
ID: 17949677
Hi,

Apache and Internet Information Server (IIS) are the two most popular servers on the Internet, assuming responsibility for around 80% of all hosting (of that 80%, an impressive 58% is Apache based). For the purposes of this article, we'll assume you already have IIS installed. To get Apache for Win32 you'll want to browse this section: Apache for Win32, and specifically, download this file: apache_1_3_12_win32.exe.

If you're thinking "Hey, two Web servers on one machine can only cause problems," then quit worrying. Web servers, by default, will listen on port 80, but can be set to listen on others. So, after you've installed Apache, set it to listen to a different port (and leave the default to IIS). Find the httpd.conf file and modify the line that says "Port 80". Change it to something like "Port 8080" instead, and then start Apache.

Then you'll be able to run IIS and Apache at the same time. To access IIS, just use your normal URL:
http://www.yourserver.com

And to access Apache, append the port number like this:
http://www.yourserver.com:8080

R.K
0
 

Author Comment

by:lsolheim
ID: 17950702
Even though I already tried it... I changed it to 8000 instead of 8080 and for some reason now it worked.  Netstat did not show anything helpful in this situation.
0

Featured Post

Network it in WD Red

There's an industry-leading WD Red drive for every compatible NAS system to help fulfill your data storage needs. With drives up to 8TB, WD Red offers a wide array of solutions for customers looking to build the biggest, best-performing NAS storage solution.  

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Autoresponder for Whole Domain in Plesk/Cpanel 2 51
Question to locate the problem 18 56
spamming  on Hosted svrs? 6 50
WEB Farm 6 26
A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now