Hosts is what file Host file storage location

Source: Internet
Author: User

Hosts is what file, host file storage location, in fact, hosts is a no extension of the Windows system files, you can use Notepad and other tools to open, the role is to some commonly used Web site domain name and its corresponding IP address to establish an association "database", When the user in the browser to enter a need to log in the URL, 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, then the system will be submitted to DNS domain name resolution server IP address resolution.

Hosts file for the general user may not be aware of, in our general Internet applications such as the default settings, but some times we need to implement a specific function, such as we need to block a site, then you can modify the Hosts file to achieve this goal, Other viruses can also damage the file, causing the computer to not open antivirus sites or other sites.

To sum up, the Hosts file is a Windows system in charge of IP address and domain name Express resolution of the file, in ASCLL format to save. When a computer is typing a domain name (such as www.pc841.com), it first goes to the Hosts file summary to see if there is a record of the IP address of this domain. If so, go directly to the Web site, if no more DNS servers are queried. Hosts in the WINDOWS2000/XP is the hosts file.

Where is the Hosts file?

In the above also introduced, sometimes you can modify the host file to achieve shielding some sites, especially parents can through this method, shielding some se love sites, to prevent children to see what should not see, then need to find the file, make the corresponding changes.

The host file is in the Windows directory, generally our system default installation is in C disk, so the location of the file is: C:windowssystem32driversetc folder.

Note that the above Windows display files are hidden, we need to set up the hidden files to display, in order to see.

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.