Block Websites on PC
Table of Contents
Windows
- Backup
C:\Windows\System32\drivers\etc\hosts
- Open
hosts
file and add localhost IP adress127.0.0.1
and domains of websites that you want to block
# Block Lists
127.0.0.1 twitter.com
127.0.0.1 x.com
- Save it
All websites you added in hosts
will be blocked on any web browsers.
Save your time!
(Note: Any methods, such as ping
command, also will be blocked on this PC)