Double-click the "My Computer" icon on the desktop to open an Explorer window. Double-click on the C Drive.
How to Edit Your Windows Hosts File
Versions of Windows prior to Vista used simple, editable lookup tables that matche IP addresses and computer names, also known as host names, on a network. Adding entries to the file forced your local Windows computer to match a specific IP address and DNS name with one another. Years ago, you needed to add the IP address and host name of each computer on a network to the host file of each computer on the network. Thanks largely to DHCP, or Dynamic Host Configuration Protocol, this tedious and error-prone procedure is no longer necessary. You cannot edit the hosts file of a Windows 7 or Windows Vista computer.
Instructions
-
-
1
-
2
Double-click on the folder named "Windows" or "WinNT." Your Windows install directory is this folder.
-
-
3
Double-click on the "System32" folder.
-
4
Double-click on the "drivers" folder.
-
5
Double-click on the "etc" folder. You see the hosts file in the list of files that displays.
-
6
Press the Start button and click "Run." Type "notepad" in the text box that appears. Press enter to launch the Notepad application.
-
7
Click and drag the hosts file in the Explorer window by single left-clicking on it. Drag the icon over the Notepad window and release. The hosts file opens in Notepad.
-
8
After the final line of the file, which probably reads "127.0.0.1 localhost," start a new line and add a manual entry as in this example. Substitute IP addresses and host names as needed for your purposes.
74.125.19.103 www.google.com
192.168.0.150 MyHouseServer
-
9
Save the file and close Notepad. Your hosts file is edited and the new settings are applied.
-
1