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 an IIS 7 publicly facing site.

mydomain.com

i would like to have the sites.

app1.mydomain.com => internalserver/app1
app2.mydomain.com => internalserver/app2

I currently have Application Request Routing set up to do this. and it is working fine.

mydomain.com/app1 => internalserver/app1
mydomain.com/app2 => internalserver/app2

I believe i need to adjust the header hosts or something like that but am not sure how that will affect the reverse proxy.

share|improve this question
add comment

1 Answer

Nearly the same question was asked on Stack Overflow. Essentially, the answer was to use ISAPI_Rewrite instead to accomplish the goal.

share|improve this answer
    
We use ISAPI_Rewrite and it's brillaint - worth every cent. –  Mark Henderson Jun 16 '09 at 2:10
    
IIS7 has a heap of rewrite functions. is there something specific about ISAPI_Rewrite that it is missing to accomplish this. –  Bluephlame Jun 16 '09 at 12:08
    
Unfortunately, I do not have a lot of experience with the URL rewrite functions of IIS7, so I don't have a built-in solution. Everything that I've read points to using an external tool when you need to rewrite based on the domain name and not the URL path. –  Justin Scott Jun 16 '09 at 15:57
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.