Search code examples
apacheport-number

Apache is listening on a different port, but how do I get it so I don't have to type in the port number?


I am running IIS and Apache HTTP Server side-by-side on my localhost machine, and Apache is listening on a different port (port 81). IIS is listening to port 80. However, I can only get to my virtual domains for Apache if I type in that port number. So for instance:

http://virtual.myvirtualdomain.com:81 http://virtual.myvirtualdomain2.com:81

How can I make it so Apache automatically knows it is port 81, and does not force me to type in the port number?

EDIT:

The answer appears to be that I need to redirect IIS to Apache. Can anyone provide clarification on how that is done with IIS 5.1?


Solution

  • It's not a matter of telling Apache, it's a matter of the browser knowing what to connect to. You're either going to have to have IIS redirect to Apache, or give up.