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'm running IIS on port 80 & Apache on port 3000. How can I have IIS to redirect requests with a certain domain name to the Apache on 3000?

For example, requests to "x.com" would eventually lead the user to 1.2.3.4:80, while requests to "y.com" would bring them to 1.2.3.4:3000.

Its all setup on windows server 2008 R2.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

IIS supports redirection to an exact URL, as well as a relative url that appends the querystring. See http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/6b855a7a-0884-4508-ba95-079f38c77017.mspx?mfr=true for IIS6 and http://technet.microsoft.com/en-us/library/cc732969(v=ws.10).aspx for IIS7.

Note: for IIS7, redirection is an optional feature, and may need to be installed separately.

share|improve this answer

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.