windows-host-
This is a hosts file for accessing Google, YouTube, Twitter,
Facebook, and other websites by overriding Windows hosts
Automatic hosts replacement batch file…
Download link
Download win-hosts
The script will automatically run as administrator. After CMD starts, a prompt will pop up,
Please click “Yes/Y”
Follow the prompt and enter
Please enter: 1, then press Enter
It will automatically replace the system hosts file with the hosts file in the folder
in the C:WindowsSystem32driversetc directory
Please note:
The commands or instructions may overwrite the existing hosts file,
How to make the hosts changes take effect:
Windows Start -> Run -> Enter cmd ->
In the CMD window, enter
ipconfig /flushdns
In the Linux terminal, enter
sudo rcnscd restart
For systemd distributions, please use the command
sudo systemctl restart NetworkManager
In the Mac OS X terminal, enter
sudo killall -HUP mDNSResponder