To make this work, you need to have Application Request Routing (AAR) installed on the IIS server you want to act like the reverse proxy. After that, then add the following into the web.config:
<system.webServer>
<rewrite>
<rules>
<rule name="Reverse Proxy to Different Port" stopProcessing="true">
<match url="^name/(.*)" />
<action type="Rewrite" url="http://[hostname here]:[port number here]/{R:1}" />
</rule>
</rules>
</rewrite>
</system.webServer>
This will redirect any request where the path starts with name/
to the other server. So if you're seeking /foo/bar
on the remote server, you would need Javascript to request /name/foo/bar
to the IIS server that has the reverse proxy configured.