How can I modify the hosts file on my PC?
Try to locate any existing hosts file on your computer:
Windows 95/98/Me c:\windows\hosts
(you need administrator access for Windows NT/2000/XP/Vista/7)
NOTE: Hosts is the name of the hosts file and not another directory name. It does not have an extension (extensions are the .exe, .txt, .doc, etc. endings to filenames) and so appears to be another directory in the example above.
CAUTION: We recommend that you back it up onto a thumb drive or into another directory on your hard drive so that you may restore it if you do not like the results, or in case something else goes wrong while you are trying to set this up. It is always better to be safe than sorry in the event of an unforeseen mishap. Please make a backup copy.
Open your hosts file in Notepad. It should look something like this when you open it:
# Copyright (c) 1993-1999 Microsoft Corp.
Once you make your changes, save the hosts file and restart your web browser.