Let us first understand the role of the hosts file. The role of the hosts file is to use some of the commonly used URL domain name and its corresponding IP address to establish an association "database", when the user entered a browser in the need to log in the URL, the system will first automatically from the Hosts file to find the corresponding IP address, once found, the system will immediately open the corresponding Web page, If not found, then the system will submit the URL to the DNS domain name resolution server for IP address resolution.
In general the Hosts file is saved on the C:windowssystem32driversetc folder, the worry-free installation is Win7 system, on this path can find this hosts file. If you do not find this file under this path, it is generally caused by the following conditions.
Could not find the Hosts file possibility one, because the default Hosts file is a hidden property, if you do not set the display hidden files can not find this host file. Win7 system, double-click to open "Computer", click "Tools-Folder Options" on the menu bar, pop Up the Folder Options dialog box, and then switch to the "View" window, select "Show hidden files, folders or drives" option on hidden files and folders under the window, as shown in the figure:
Hosts file could not find the possibility of two, if you will hide the file is not found after the hosts file, then it is your system has a problem, you may install a pirate system, the above itself there is no host file, You find a Lmhosts.sam file on your local computer, and then you open it in Notepad and save the file as a hosts file. Make changes to this hosts Notepad file. However, if the user is not recommended to modify the host is a file.
It is also possible that the user accidentally deleted caused the hosts file can not find the situation, if this is the case could create a new Hosts file, create a new text file, save it as C:windowssystem32driversetchosts.txt, click " Start-run--ren c:windowssystem32driversetchosts.txt c:windowssystem32driversetchosts. Complete without an error message.