Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have two webservers installed on one machine:

  • Apache running on port 8080
  • IIS on port 80

I want to define a rule in IIS that whenever someone wants to access my server in the form of apache.myserver.org the visitor should be redirected to myserver.org:8080. In any other cases the IIS on port 80 should be used as webserver.

Is that possible with the IIS?

share|improve this question
1  
It's certainly possible with Apache (without having to rely on an additional component)! –  symcbean Apr 25 '12 at 11:59
add comment

1 Answer

up vote 1 down vote accepted

You're looking for a reverse proxy. This should be helpful:

http://blogs.iis.net/wonyoo/archive/2008/07/09/application-request-routing-arr-as-a-reverse-proxy.aspx

For pattern, you'll need to use apache.myserver.org or *apache.myserver.org* - not sure about that so you should experiment a bit.

share|improve this answer
add comment

Your Answer

 
discard

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.