The Hosts file cannot find a workaround

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.