<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Hans Rasmussen &#187; DNS</title>
	<atom:link href="http://www.hansrasmussen.com/tag/dns/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hansrasmussen.com</link>
	<description>info@hansrasmussen.com, +46 (0)723 207008</description>
	<lastBuildDate>Wed, 01 Feb 2012 11:59:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Disable Loopback when you experience HTTP 401.1 when accessing web site from localhost</title>
		<link>http://www.hansrasmussen.com/2010/02/disable-loopback-when-you-experience-http-401-1-when-accessing-web-site-from-localhost/</link>
		<comments>http://www.hansrasmussen.com/2010/02/disable-loopback-when-you-experience-http-401-1-when-accessing-web-site-from-localhost/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 23:46:22 +0000</pubDate>
		<dc:creator>Hans Rasmussen</dc:creator>
				<category><![CDATA[Setup]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[IIS]]></category>

		<guid isPermaLink="false">http://www.hansrasmussen.com/2010/02/disable-loopback-when-you-experience-http-401-1-when-accessing-web-site-from-localhost/</guid>
		<description><![CDATA[I experienced something that made my whole day full of troubleshooting. On a Windows 2008 Server Microsoft Dynamics CRM 4.0 was installed. CRM web application was using port 80 and had no host headers defined. Great, I wanted another web application to be located on the same server and therefore we created a DNS entry [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.hansrasmussen.com/wp-content/uploads/2010/02/Penguins.jpg"></a>I experienced something that made my whole day full of troubleshooting.</p>
<p>On a Windows 2008 Server Microsoft Dynamics CRM 4.0 was installed. CRM web application was using port 80 and had no host headers defined.</p>
<p>Great, I wanted another web application to be located on the same server and therefore we created a DNS entry to point to that specific machine (IP-address). I created the web application and specified the host header to DNS specified address. The web application was using Windows Integrated Authentication and the application had a domain service account specified in the application pool that was assigned to the web application.</p>
<p>Great so lets try it; <a href="http://mydnsentry/">http://mydnsentry/</a></p>
<p>Windows keeps asking for username and password and I was never let in. From another server I made a connection <a href="http://mydnsentry/">http://mydnsentry</a> and now it suddenly worked. Strange? Working from OUTSIDE the server but not INSIDE the server itself.</p>
<p>We spent hours and hours thinking Kerberos was setup incomplete, tried about every trick ever known and finally stumpled upon this article from Microsoft</p>
<p><a href="http://support.microsoft.com/kb/896861">http://support.microsoft.com/kb/896861</a></p>
<p>So if you have a host header that does NOT match the local computer name you will get problems unless you disable &#8220;Loopback check&#8221;. This security feature has been added to prevent a reflection attack.</p>
<p>Quote from article; </p>
<p>This issue occurs if you install Microsoft Windows XP Service Pack 2 (SP2) or Microsoft Windows Server 2003 Service Pack 1 (SP1). Windows XP SP2 and Windows Server 2003 SP1 include a loopback check security feature that is designed to help prevent reflection attacks on your computer. Therefore, authentication fails if the FQDN or the custom host header that you use does not match the local computer name.</p>
<p>To set the <strong>DisableLoopbackCheck</strong> registry key yourself, follow these steps:</p>
<ol>
<li>Set the DisableStrictNameChecking registry entry to 1. For more information about how to do this, click the following article number to view the article in the Microsoft Knowledge Base:
<div class="indent"><a class="KBlink" href="http://support.microsoft.com/kb/281308/">281308</a>  <span class="pLink">(http://support.microsoft.com/kb/281308/ ) </span>Connecting to SMB share on a Windows 2000-based computer or a Windows Server 2003-based computer may not work with an alias name</div>
</li>
<li>Click <strong class="uiterm">Start</strong>, click <strong class="uiterm">Run</strong>, type <span class="userInput">regedit</span>, and then click <strong class="uiterm">OK</strong>.</li>
<li>In Registry Editor, locate and then click the following registry key:
<div class="indent"><strong class="uiterm">HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa</strong></div>
</li>
<li>Right-click <strong class="uiterm">Lsa</strong>, point to <strong class="uiterm">New</strong>, and then click <strong class="uiterm">DWORD Value</strong>.</li>
<li>Type <span class="userInput">DisableLoopbackCheck</span>, and then press ENTER.</li>
<li>Right-click <strong class="uiterm">DisableLoopbackCheck</strong>, and then click <strong class="uiterm">Modify</strong>.</li>
<li>In the <strong class="uiterm">Value data</strong> box, type <span class="userInput">1</span>, and then click <strong class="uiterm">OK</strong>.</li>
<li>Quit Registry Editor, and then restart your computer.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.hansrasmussen.com/2010/02/disable-loopback-when-you-experience-http-401-1-when-accessing-web-site-from-localhost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

