How to modify the Hosts file in Windows system

  
 

A lot of times, we need to manually change the hosts file, change the hosts to access sites that are blocked by some URLs, or to advertise.

Operation steps

The hosts file is in the Windows
folder of the C drive---System32 folder---Drivers folder---Etc folder.


Double-clicking on the Hosts file will bring up a selection box for the open method, select Notepad, and press OK.


In the opened hosts file, you can copy or write the content you want to change. In the following figure, you change two items in the bottom position.



Copyright © Windows knowledge All Rights Reserved