title: IIS Rewrite causing redirect issues
body: <p>I have the following rules in IIS.</p>
  
  <pre><code>    &lt;rules&gt;
          &lt;rule name="ReverseProxyInboundRule1" stopProcessing="true"&gt;
              &lt;match url="(.*)" /&gt;
              &lt;action type="Rewrite" url="http://localhost:3000/{R:1}" /&gt;
          &lt;/rule&gt;
      &lt;/rules&gt;
  </code></pre>
  
  <p>My web application internally calls another domain <code>www.anotherdomain.com/somepage</code>. My problem is while it redirects, it changes the url to <code>www.mycurrentdomain.com/somepage</code> which obviously results in a 404 page. Can some one please help me to write the correct rule.</p>
  
  <p>Note - the redirect is happening from the application code <code>res.redirect('www.anotherdomain.com/somepage')</code></p>