Tech Support > Operating Systems > Where/What is the "hosts" file we're to paste the fix in?
Where/What is the "hosts" file we're to paste the fix in?
Posted by George Hester MVP - IIS on August 18th, 2003


In C:\Windows (Win95\98\ME) or in C:\WINNT\system32\drivers\etc (Win2K) or
in C:\Windows\system32\drivers\etc (WinXP\Win2003)

If you don't have one you can make one and put in the location for your
operating system corresponds above. It is just a text file without the
extension txt in fact no extension.

Let's say you don't like the site http://www.microsoft.com

then in your hosts file:

127.0.0.1 www.microsoft.com

There must be a carriage-return after the last entry. And the file is
called hosts. That is it. Some op sys my require it like this HOSTS The
127.0.0.1 is a generic IP address for your machine. If you do not have a
http server this will result in a error but hey no connection to the site
you don't like.

Now say you want to have a direct connection because your ISP DNS is slow to
update. Then

192.168.1.56 www.yahoo.com
127.0.0.1 www.microsoft.com

as the previous poster provided.

--
George Hester
_________________________________
"Liz" <liz.piggott@sympatico.ca> wrote in message
news:062f01c36599$7b1dad50$a001280a@phx.gbl...



Similar Posts