Стандартный hosts должен выглядеть так:
<h1>Copyright (c) 1993-2009 Microsoft Corp.</h1>
#
<h1>This is a sample HOSTS file used by Microsoft TCP/IP for Windows.</h1>
#
<h1>This file contains the mappings of IP addresses to host names. Each</h1>
<h1>entry should be kept on an individual line. The IP address should</h1>
<h1>be placed in the first column followed by the corresponding host name.</h1>
<h1>The IP address and the host name should be separated by at least one</h1>
<h1>space.</h1>
#
<h1>Additionally, comments (such as these) may be inserted on individual</h1>
<h1>lines or following the machine name denoted by a '#' symbol.</h1>
#
<h1>For example:</h1>
#
<h1>102.54.94.97 rhino.acme.com # source server</h1>
<h1>38.25.63.10 x.acme.com # x client host</h1>
localhost name resolution is handled within DNS itself.
127.0.0.1 localhost
::1 localhost