title: Why is Windows not reading my hosts file?
body: <p>I'm having a hard time geting Windows to take into account a new entry in my <code>hosts</code> file.</p>
  <p>I tried adding this line:<br />
  <code>199.229.249.151   models.db</code></p>
  <p>To the <code>hosts</code> file found here:<br />
  <code>c:\windows\system32\drivers\etc\hosts</code></p>
  <p>When I save the file and try to reach the host with a browser, I'm getting a &quot;host not found&quot; error. I tried setting the &quot;read-only&quot; file attribute to the <code>hosts</code> file -- same result. I tried flushing the DNS cache, but nothing changes.</p>
  <p>It seems Windows is not reading my modified <code>hosts</code> file at all, or at least, not taking in account my new entry.</p>
  <p>What am I forgetting? What else could I try?</p>
  <p>Are there specific requirements or rules to follow to ensure that Windows can always properly detect a change to the <code>hosts</code> file, read and parse its contents, and immediately take into account changes when using a browser or <code>ping</code> to test via the command-line?</p>