Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>It sounds like it could be one or more of the following:</p> <ol> <li><p>your server is sitting behind a firewall and/or load balancer that are stripping the <code>Host:</code> header from the request.</p></li> <li><p>Check the IIS configuration - the binding list should include both <code>domainName.com</code> and <code>www.domainName.com</code> instead of being blank (default site).</p></li> <li><p>Are you making the requests from inside or outside your company network? The network administrator may have configured internal DNS differently than the external DNS.</p></li> </ol> <p>Drop this code as <code>ServerVariables.aspx</code> somewhere on your site (<strong>temporarily</strong>: it exposes server configuration info) and it will dump the request headers:</p> <pre><code>&lt;%@ Page Language="C#" Theme="" %&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt;Server Variables&lt;/title&gt; &lt;style&gt; thead th {border-bottom: 2px solid #000000; padding: 2px 8px; font-size: 130%; text-align: left;} tbody td {border-bottom: 1px dotted #999999; padding: 2px 8px;} &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;table cellpadding="0" cellspacing="0"&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Server Variable&lt;/th&gt; &lt;th&gt;Value&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt;&lt;% foreach (string name in Request.ServerVariables) { %&gt; &lt;tr&gt; &lt;td&gt;&lt;pre&gt;&lt;%= name %&gt;&lt;/pre&gt;&lt;/td&gt; &lt;td&gt;&lt;pre&gt;&lt;%= Request.ServerVariables[name] %&gt;&amp;nbsp;&lt;/pre&gt;&lt;/td&gt; &lt;/tr&gt;&lt;% } %&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload