Location of the hosts file: Find the Hosts file in the C:\\windows\\system32\\drivers\\etc folder, open it with Notepad, first time http://hi.baidu.com/%C9%F2%D1%F4%CB%B6%CA%F3
If you change the UAC settings of Windows, you may encounter a situation that cannot be saved normally. There are two solutions
Solution One: Open and save using WordPad. After my practice, use WordPad to modify and save the hosts file without enabling the user account.
Solution 2: Click Start Menu - All Programs - Accessories, find the Notepad option, right click to run as administrator, and then modify the hosts file.
Hosts is a system file with no extension. It can be opened with a tool such as Notepad. Its function is to establish a relationship between some commonly used URL domain names and their corresponding IP addresses. "Database", when the user is at 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. Analysis of the IP address.
1. Speed up domain name resolution
For websites that need to be visited frequently, we can improve the domain name resolution speed by configuring the mapping between domain name and IP in Hosts. Thanks to the mapping, when we enter the domain name computer, we can quickly resolve the IP without requesting a DNS server on the network.
2, convenient LAN users
In many units of the LAN, there will be servers available to users. However, since the DNS server is rarely set up in the local area network, when accessing these servers, it is necessary to input a hard-to-remember IP address. This is quite troublesome for many people. Now you can give these servers a name that is easy to remember, and then create an IP mapping in Hosts, so that when you access it later, just enter the name of the server.
3, blocking the website
There are many websites that install a variety of plug-ins to your computer without the user's consent, some of which may be Trojans or viruses. For these sites we can use Hosts to map the domain name of the site to the wrong IP or IP of the local computer, so there is no need to access it. In the WINDOWSX system, the agreement 127.0.0.1 is the IP address of the local computer, and 0.0.0.0 is the wrong IP address.
If we are in Hosts, write the following:
127.0.0.1 # to block the site A
0.0.0.0 # to block the site B
Thus, when the computer resolves the domain names A and B, it resolves to the local IP or the wrong IP, and achieves the purpose of blocking websites A and B.
4, smooth connection system
For Lotus server and some database server, if you directly enter the IP address during access, it is inaccessible, you can only enter the server name to access. Then we configure the Hosts file so that the server name can be successfully connected.
Hosts is a system file with no extension, which can be opened with a tool such as Notepad. Its role is to establish a relationship between some commonly used URL domain names and their corresponding IP addresses. & rdquo;, when the user enters a URL that needs to be logged in in the browser, the system will first automatically find the corresponding IP address from the Hosts file. Once found, the system will immediately open the corresponding web page, if not found, the system will then URL Submit the DNS domain name resolution server to resolve the IP address. If we make a domain name change to it, then the computer will first read the domain name on the local server, so that as long as we deal with it, we can achieve the purpose of blocking harmful websites, thus effectively reducing the computer fishing. The threat of Trojan attack (and of course the effect of quick access)
Recently, some XP users have installed Win7 system, but these users said that after installation, th
Procedure Right-click the trash can icon and click Properties.
U disk as an important medium for file storage and transfer, now more and more people use. Of course
Author Mike Halsey is Microsoft MVP, MVP means Most Valuable Professionals, Microsofts most valuable
Windows 7 shortcuts: Quickly open local connections
Solve the win7 desktop IE icon is missing method
Some of the front and back behind the scenes of Windows 7 Beta
Teach you to turn off the extra display effects to speed up the skills
Windows7 method to create a file that cannot be deleted
Windows 7 Graphical Installation of V6 Virtual Machine
DIY login interface, my Win7 I am the master
How to use the windows8 parental control function tutorial
Can't see the simplest solution for the camera under Windows7
Sharing two ways to adjust the Win7 time synchronization frequency
Win10 as a administrator to open a command prompt CMD 3 ways
Win8.1 Bluetooth mouse unstable solution
Clear the expiration notification of dynamic tiles when Windows 8 exits the system
Windows8 Consumer Preview Sleep Method
Blue screen prompts the startup dump of physical memory error code after the Win7 system restarts
Win10 custom resource manager method
What's the change? Win10 Build 10122 version HD screenshots
Win10 Mobile official version of the new Aero frosted glass effect concept map exposure
The source and processing method of shutting down the host computer noise
What happens when I access the share in win7 computer with 0x800704cf error message