How to bind the hosts system file under the win7 system

  

Hosts is a system file without extension, its basic function is to establish a relationship between some commonly used URL domain names and their corresponding IP addresses & ldquo; database, when the user is When you enter a URL to log in to the browser, the system will automatically find the corresponding IP address from the Hosts file. Once found, the system will immediately open the corresponding web page. If it is not found, the system will submit the URL to the DNS domain name resolution server. The resolution of the IP address, if it is found to be blocked IP or domain name, it will be forbidden to open this page!

Under windows, first open the host file, its operation steps, open C:\\Windows\\System32\\Drivers\\ The etc\\hosts file (usually text mode), then add the ip and domain name you want to bind after the following lines.

# localhost name resolution is handled within DNS itself.

# 127.0.0.1 localhost

# ::1 localhost

How to bind host, come Teach everyone a trick. In fact, win7 binding host and xp system is the same, do not know friends to learn it!

First find the \\Windows\\System32\\drivers folder in the C directory

Then Open the etc folder, you can see the hosts file, choose to open the hosts file in Notepad mode

, you can bind the ip address according to your needs, remember to save after the completion of the modification!! ! (# indicates the IP address in the modified host, commented, will not take effect, if you remove #, the domain name will directly enter the corresponding IP, hackers often modify the hosts file, let users enter their fishing Website.)

Copyright © Windows knowledge All Rights Reserved