title: redirect loop eror ERR_TOO_MANY_REDIRECTS on .net Umbraco site
body: <p>I have following rule written in web.config , which was working fine when the site was on Dedicated server and now we have moved the site to shared hosting.
  (As the site is in umbraco)</p>
  
  <pre><code>&lt;rule name="Redirect www.SiteName.com to HTTPS" enabled="true" patternSyntax="ECMAScript" stopProcessing="true"&gt;
      &lt;match url=".*" /&gt;
      &lt;conditions&gt;
          &lt;add input="{HTTPS}" pattern="ON" negate="true" /&gt;
          &lt;add input="{HTTP_HOST}" pattern="^www.SiteName.com$" negate="false" /&gt;
      &lt;/conditions&gt;
      &lt;action type="Redirect" url="https://www.siteName.com/{R:0}" /&gt;
  &lt;/rule&gt;
  </code></pre>
  
  <p>As we need to move any request on <code>www.siteName.com</code> to <code>https://</code></p>
  
  <p>but when I activate above code on site I am start getting following error message on </p>
  
  <p><img src="https://i.stack.imgur.com/D5UoI.png" alt="enter image description here"></p>
  
  <p>I have also check the site re-direction request on <a href="http://redirectdetective.com/" rel="nofollow noreferrer">http://redirectdetective.com/</a>
  As I is also showing loop of https </p>
  
  <p><img src="https://i.stack.imgur.com/mjGmv.png" alt="enter image description here"></p>
  
  <p>As I have also got conformation from hosting provider that they have not set any re-direction</p>