
Originally Posted by
Fred Langa
The Hosts file is mainly meant to be used on a LAN; it tells your PC the fixed numeric address of the internal server you need to connect to. But some less-than-stellar internet speedup software tries to shave a few fractions of a second off your Internet connections by placing the numeric IP of external web sites in the Hosts file so your browser won't have to look up the name and address externally. This works---as long as the site's numeric IP address never changes.
But IP addresses *do* change--- and they're supposed to be able to. The Web operates via "dynamic" naming; treating web addresses as static defeats an important part of the Web's ability to reconfigure itself.
For example, the WinMag site's numeric address changed a few months ago; Langa.Com's address changed a few weeks ago; BrowserTune.Com and HotSpots changed even more recently. People with out-of-date addresses hardwired into their Hosts file can no longer connect to any site whose address has changed--- the Hosts entry is permanently pointing them to a dead location! The only way they can connect is by using a nonstandard form of the address that forces their browser to perform a normal name lookup; done that way, they connect just fine.
If you have trouble connecting to a site you know should be there, use NotePad to examine the contents of your Hosts file in the Windows directory. If you're on a LAN, your system administrator can tell you if you really need entries in the Hosts file, and what they should be; delete any others.
And if you're not on a LAN, chances are you don't need the Hosts file at all. Rename it HOSTSBAK or something similar, reboot, and see what happens. Chances are, the only thing that will change is that you may be able to connect to sites that were giving you trouble. But, if it turns out you do need the Hosts file, just rename it back to Hosts.
(By the way, HOSTS.SAM is a fake sample HOSTS file placed in the Windows directory by default. It's not involved in any of the foregoing; you can ignore it.)