title: where is the 301 redirect coming from?
body: <p>Tearing my hair out here. </p>
  
  <p>Developing a web site on my local machine at dev.thingy.com. (ASP.NET/IIS7).</p>
  
  <p>Somehow whenever an ASPX page is called, it redirects with a 301 to local.thingy.com. </p>
  
  <p>I realize I must at some point have set this up but I cannot find where. I have checked and it is NOT any of the following places:</p>
  
  <ul>
  <li>In IIS web site settings</li>
  <li>In IIS redirection setting</li>
  <li>In URL rewriting settings in web.config</li>
  <li>In my hosts file</li>
  <li>In my error page settings in IIS</li>
  </ul>
  
  <p>This only happens with ASPX pages, not standard HTML pages which do not redirect. </p>
  
  <p>So where on earth is this 301 redirect coming from?</p>