How to Block Selected Websites on Any Windows Computer: A Step-by-Step Guide
- HowToFix
- Jan 19, 2024
- 1 min read
Just navigate to C:\Windows\System32\Drivers\etc\hosts and edit hosts file by adding one or more line to it. Press windows key + R and enter C:\Windows\System32\Drivers\etc\hosts in it or put this line in windows explorer directly.
Now open this with Notepad and enter the line below.
127.0.0.1 facebook.com

Rescue Operation: Just delete the line again to get back things to normal.
Comments