title: How do I find where a redirect is occurring on my website
body: <p>We're moving an instance of a third party, .NET-based website to a Win2016 server, IIS 8, from an external hosting service.  Under the site, there's a WCF web service in a subfolder.  There are no virtual directories or apps.  </p>
  
  <pre><code>mysite.../Order/v4/service.svc
  </code></pre>
  
  <p>When I browse to pull the wsdl (<a href="https://MySite.../Order/v4/Service.svc?wsdl" rel="nofollow noreferrer">https://MySite.../Order/v4/Service.svc?wsdl</a> ), it is redirecting to Login.aspx (<a href="https://MySite.../Order/v4/Login.aspx" rel="nofollow noreferrer">https://MySite.../Order/v4/Login.aspx</a>).<br>
  <a href="https://i.stack.imgur.com/X2IUE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/X2IUE.png" alt="enter image description here"></a></p>
  
  <p>Browsing to <a href="https://MySite/Order/v4/Service.svc?wsdl" rel="nofollow noreferrer">https://MySite/Order/v4/Service.svc?wsdl</a> redirects to <a href="https://MySite/Order/v4/Login.aspx" rel="nofollow noreferrer">https://MySite/Order/v4/Login.aspx</a> .</p>
  
  <ul>
  <li>IIS has no default document set / web.config's defaultDocument is commented out.</li>
  <li>Vendor indicates </li>
  </ul>
  
  <blockquote>
    <p>That would be a redirect that was setup either on IIS or another
    appliance that is doing that.</p>
  </blockquote>
  
  <ul>
  <li>Same behavior occurs running on the server itself (localhost) and sys eng confirms it shouldn't be leaving the network to hit any firewall.</li>
  <li>There are no other .config files on the server with any reference to "Login.aspx".</li>
  </ul>
  
  <p>This still feels like it is some piece of configuration but even doing things I shouldn't need to do like restarting the server just to make sure no caching of settings is hanging around isn't affecting it.</p>
  
  <p>Any guesses on what might be attempting to redirect?</p>