The hosts table of Windows cannot be opened on the webpage.

Source: Internet
Author: User
When surfing the Internet, many friends often encounter some webpages that can be opened smoothly, but some webpages cannot be opened in any way, but can be opened easily on other computers. In this case, the biggest possible reason is that you browsed it in the IE browser, and hosts table files are often the source of the fault.

1. What is a hosts table file?

The hosts table file is a file without an extension, but it is a file in text file format. You can use the Notepad program to edit it. Hosts table files store the browsing of some common web browsing hosts and their corresponding IP addresses. When We When you use a browser to browse a website, enter the Domain Name of the website in the address bar and press Enter. the system must convert the domain name to its unique IP address through some channel, this work is usually done by DNS (Domain Name resolution Server. Before the system processes the domain name to the DNS server, it always checks the local hosts table file to see if the corresponding domain name and IP address have a corresponding relationship, if yes, it will be used directly, thus saving a lot of time.

For this reason, if a domain name in the hosts table file has an error corresponding to the IP address, when you enter this domain name in the browser to try to open its corresponding webpage, the website cannot be opened, and those websites with no ing error or corresponding records in the hosts table can be opened normally. This is why some websites cannot be opened but can be opened smoothly on other computers. Many malicious programs often make such pranks.

 Ii. solutions after recruitment

After understanding the principle, if some websites cannot be opened properly due to the recruitment in our browser, we can solve the problem by browsing and modifying the hosts table file. Hosts table file location in the system, Windows The 9x system is stored in the C: \ Windows Directory, Windows NT/2000 system, and stored in the C: \ winnt \ system32 \ drivers \ etc directory. The windows browser system is saved in the C: \ windows \ system32 \ drivers \ etc. If you cannot find it, you can search by using the system's browser tool. After finding it, open it directly with notepad, and delete all the content of other lines except the beginning of "#", for example, "127.0.0.1 onlinestore.smgbb.cn ", click Save to save the file. Of course, you can also Select Delete websites that are blocked and you want to access them, so that other websites that are blocked will not be affected.

If you suspect that the preceding manual method is too clumsy, you can use special tools to achieve your goal. Netassistant 2005 (Browse address: http://dl.3721.net/download/assist4.exe) lets you easily repair hosts table files:

After downloading and installing the Internet Assistant, find the "Internet Assistant" icon in the IE Address Bar, click the black triangle on the right, and select "repair ie → ie repair expert ", in the displayed window, select the edit hosts table tab.

If you do not want to change it one by one, click "clear host table" and then click "save now. Otherwise, you can select the domain names that are blocked and cannot be accessed, and then click "delete> Save now.

 Iii. Experience

When you encounter some websites that cannot be opened, and some websites can be opened smoothly, in addition to setting a URL Filter in the IE browser, the hosts table file is the most suspicious. The above method can be easily solved. In view of this, some annoying websites (such as the Baidu plug-in installation page) can be used to "Block" them. The method is very simple, add a line similar to 127.0.0.1 bar.baidu.com (separated by space between 127.0.0.1 and bar.baidu.com) to the end row of the hosts table file, and save and exit the hosts table file. You can also use the hosts table file editing function of the netassistant, and click "add" in the window shown in Figure 1, enter 127.0.0.1 and bar.baidu.com in the "ip address" and "Domain Name" columns, and click "save now. In the same way, you can "block" other websites that you do not want to access in your brain.

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.