Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have IIS set up on my server, but also Apache x2 (other products which comes with their own servers, cannot be integrated into IIS.)

Is it possible for me to "port-forward" certain domains on port 80 (that IIS handles) to those other ports?

For instance:

  • -> IIS
  • -> port 81 on same machine
  • -> port 82 on same machine

Or do I just need to set up those domains and redirect to the correct port? I'd like the domain name and url to be transparent to the user, but perhaps that won't work.

Can anyone shed some light on this?

share|improve this question
up vote 1 down vote accepted

Seems you're mixed two possible solutions: 1) If you want to access various services with different port numbers (, - just create multiply sites in your IIS and specify unique port number for every site. 2) If you want to setup all your sites to share one IP - check IIS configuration for "host headers" option.

share|improve this answer
I want the third option than you didn't mention. I want to reach the server hosted on port 82 (internally) by going through port 80 on IIS. Basically, I would like to transparently be remapped to, without the user having to know this. If I can't do this, I'll just leave the ports as is. They work, I was just looking for something esthetically pleasing :) – Lasse V. Karlsen Mar 23 '10 at 16:06
Argh, Ok. Seems you need HTTP redirect or URL rewrite. – Sergey Mar 23 '10 at 16:56
HTTP Redirect doesn't seem to be working properly with Subversion, and I didn't really expect it to either. I guess I'll just leave it as it is, with the two other ports. – Lasse V. Karlsen Mar 23 '10 at 22:04

This post describes how to complete the task if you have IIS 7.5:

I'm trying this out now.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.