title: Redirect to sub domain without changing URL- IIS
body: <p>We have a website <strong>www.A.Com</strong> and when I browse the URL <strong>www.A.Com/loc</strong>  <br/>
  I need to get redirected to sub-domain <strong>www.loc.A.Com</strong> which is hosted by SEO provider and show the page hosted by them. 
  <br/> <br/>The main requirement is we should not change the URL i.e. URL should remain <strong>www.A.Com/loc</strong></p>
  
  <p>We tried with URL Write module by defining the below Rule </p>
  
  <pre><code>&lt;rewrite&gt;
    &lt;rules&gt;
      &lt;rule name="ProxyExample" stopProcessing="true"&gt;
        &lt;match url="^locations/?(.*)" /&gt;
        &lt;action type="Rewrite" url="http://A.Locations.com/{R:1}" /&gt;
        &lt;serverVariables&gt;
          &lt;set name="HTTP_ACCEPT_ENCODING" value="" /&gt;
        &lt;/serverVariables&gt;
      &lt;/rule&gt;
    &lt;/rules&gt;
  &lt;/rewrite&gt;
  </code></pre>
  
  <p>One Note is Our Website is hosted on Azure App Service</p>