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 a public facing web server at www.evju.biz serving several pages (it's behind a NAT'ed firewall) I also have another internal server "winttfs" hosting a TFS server.

I have the URL tfs.evju.biz pointing to the www.evju.biz server. I would like the www.evju.biz server to serve the project portal from the wintfs server when someone uses tfs.evju.biz.

I have installed and enabled Application Request Routing cache. Under the www.evju.biz site I have the following rule:

        <rule name="tfs" stopProcessing="true">
            <match url=".*tfs.evju.biz(.*)" />
            <action type="Rewrite" url="http://wintfs{r:1}" logRewrittenUrl="true" />
        </rule>

This rule does not seem to hit at all. Hos should I set it up?

share|improve this question

1 Answer 1

Did you start with the URL Rewrite wizard for reverse proxy? That will give you the option of enabling the proxy functionality.

After you do that then your rule should look something like this:

Notice that the domain name is in the condition rather than the url. The url is just for the part after the domain name. Here's more info on the URL parts.

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.