title: IIS Domain rewrite to subfolder (only home page)
body: <p>I want my domain homepage to be redirected to one of my mvc directories</p>
  
  <p>this is the rule i am using </p>
  
  <pre><code>&lt;rule name="Home" stopProcessing="true"&gt;
      &lt;match url="^/*$" /&gt;
      &lt;action type="Rewrite" url="/test/" logRewrittenUrl="true" /&gt;
  &lt;/rule&gt;
  </code></pre>
  
  <p>Same rule is working if i put redirect. But rewrite is not working.</p>
  
  <p>Other URLS should be served normally. Only home page should be rewritten</p>
  
  <p>Can we achieve this without ARR?</p>
  
  <p>//www.example.com should be rewritten to //www.example.com/test/</p>
  
  <p>www.example.com/buy should be served as it is.</p>