This Season
 

How to Edit Your Windows Hosts File

How to Edit Your Windows Hosts Filethumbnail
Sample of a standard Windows HOST 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.

Related Searches:
    Difficulty:
    Moderate

    Instructions

    Things You'll Need

    • A Windows Computer
      • 1

        Double-click the "My Computer" icon on the desktop to open an Explorer window. Double-click on the C Drive.

      • 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.

    Tips & Warnings

    • The reason you add host entry's is to force your local Windows computer to use a certain IP address or DNS name to match a certain IP or DNS name. Basically if you want someone to access a local server by the name of the server or IP you can create a static entry on the local computer.

    • The Windows HOST file overrides your DNS settings on the local computer.

    Related Searches

    References

    Read Next:

    Comments

    You May Also Like

    • How to Recover Missing Windows Host Files

      The host file is an important part of the Windows operating system, but many users do not even realize it is there...

    • How to Restore Windows XP Hosts File

      The hosts file in Windows XP is an important file, and if that file is lost or damaged it is important to...

    • How to Repair the Hosts File in Windows Vista

      The Windows hosts file is commonly targeted by browser-hijacking software. This small text document lets a user override normal domain look-up requests...

    • How to Fix a Windows Hosts File

      The Windows hosts file is a special file on your computer that can manually define which website URLs go to which IP...

    • How Do I Update the Hosts File in Windows XP?

      Microsoft Windows XP contains a file which maps Internet Protocol (IP) addresses to host names. When the operating system starts, this file...

    • How to Edit in Windows Script Host

      Windows Scripting Host, or WSH, is a programming language that lets developers create basic applications called scripts that perform common computer tasks....

    • How to Edit a WMV File

      In our current age of hand-held technology, it seems that just about everyone has some type of device that shoots video. Many...

    • How to Edit SWF Files

      Flash animation is the standard for Internet video. Videos on YouTube and other websites use SWF (.swf) files, which are the Web-optimized...

    • How to Easily Edit PDF Files

      Since PDF files cannot be edit like a Word document, you need special software to edit them. Here are 3 methods of...

    • Windows Host File Problems

      Every domain name is linked to an IP address, which is how you find the website you are seeking. Because the host...

    Follow eHow

    Related Ads