Where is the hosts file located? How to modify the hosts file?

  
                

The hosts file is a file used on the computer to associate the URL and IP corresponding to the user's access. Sometimes the user needs to modify the file, but most users are more than enough, because they don't know where the hosts file is located. ? At the same time, many users have found the hosts file and don't know how to modify them. Now let's give you a detailed introduction to these methods.

1. Open the “Start” menu, click “All Programs, and find “Notepad” in "Accessories".

2. Right click on “Notepad”, select “Run as administrator”. (This step is very important)

3. At this time, a new Notepad window pops up, click on the “Files” menu and select “Open”.

4, in the "Open" dialog box, select the folder to “C:\\Windows\\System32\\drivers\\etc” from the drop-down menu, and at the same time “C:\\Windows\\System32\\drivers \\etc” This is where the hosts file is stored.

5. Click the File Format drop-down list in the lower right corner and select “All Files”.

6. At this point, you can see the hosts file. Double-click it to open the file for modification. After the modification is completed, it can be saved.

At this point, the modification method of the hosts file has been introduced. Although it has been found that the tutorial has been found to be very simple, many users do not know how to operate for the first time. Another important thing is that you must run the Notepad program as an administrator, otherwise you will not be able to save it! I have already reminded you once in the second step.

Copyright © Windows knowledge All Rights Reserved