The hosts file is a file on the computer that is used to associate the URLs visited by users with the corresponding IP resolution. Sometimes users need to modify this file, but most users are unable to do so because they do not know where the hosts file is. At the same time, there are still many users who have found the hosts file and don’t know how to modify it. Today, the editor of Huajun brings you a simple and easy-to-understand solution. I hope you will support and share the carefully selected content. If you like it, hurry up and get it!
1. Open the "Start" menu, click "All Programs" and find "Notepad" in "Accessories".
2. Right-click "Notepad" and select "Run as administrator". (This step is very important)
3. A new Notepad window will pop up. Click the "File" menu and select "Open".
4. In the "Open" dialog box, select the folder "C: WindowsSystem32driversetc" through the drop-down menu. At the same time, "C: WindowsSystem32driversetc" is the location where the hosts file is stored.
5. Click the file format drop-down list in the lower right corner and select "All Files".
6. Now you can see the hosts file. Double-click to open the file for modification. After the modification is completed, you can save it and take effect.
At this point, the method of modifying the hosts file has been introduced. Although it is very simple after reading the tutorial, many users do not know how to operate it for the first time. Another very important thing is that you must run the Notepad program as an administrator, otherwise it will not be saved! Already reminded once in the second step.