Try to modify the hosts file to solve the case analysis that the specified website cannot be accessed

Source: Internet
Author: User
Tags administrator password
Analysis of the problem that such a specific webpage cannot be opened is caused by DNS failure in correct resolution. When accessing the Internet, DNS resolution must first use the local hosts file, and then use a remote DNS server for resolution. Try to modify or delete the content of the hosts file to solve this problem, because some viruses or Trojans maliciously change the hosts file.

 

1. Click start in the lower left corner, click all programs, click attachments, right-click notepad, and click Run as administrator ";

 

Tip: It must be run as an administrator; otherwise, it cannot be changed.


If the system prompts you to enter or confirm the administrator password, enter the password or click "allow ".

 

2. Go to the following path:

 

Windowssystem32driversetc, double-click to open the "hosts" document

 

 

3. If you cannot open the file by double-clicking it, right-clicking the hosts file (if the Windows 7 system is a Lmhosts file) will prompt you how to open the file. Select notepad to open the file.

 

 

4. The hosts file is displayed as follows:

 

 

5. Delete all selected items and save them.

 

Applicable Systems:XP, VISTA, and Windows 7

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.