I developed web application using php and I'm using apache. There is a asp.net application to read data and store them into the data base. I want to run both application in the same time.Can apache and iis on the same machine at same time?. If so how can i do that. Could anyone help me?
Run IIS and Apache at the same time on same machine
Collapse
X
-
Hi,
the easiest (and more secure) way is to change the port of the iis. Right-click on the virtual host(s) in the management console. As far as I remember you can change the port on the "website" tab to, let's say, 6080.
Btw., you may even use the Apache as filter for the iis, e.g. by configuring the proxy module, so that your iis application is hidden. The following takes requests for http://www.yourserver. tld/someapp/* and forwards them to the iis aboard:
This adds some more security to your iis, for that the standard threats (code red etc.) stay out because the Apache blocks them. (Especially if there's a firewall in front which makes port 6080 invisible to the outside world.)Code:ProxyPass /someapp/ http://localhost:6080/someapp/ ProxyPassReverse /someapp/ http://localhost:6080/someapp/
Regards,
BerndComment
Comment