
Steps to block a Website without using Software
- Browse C:\WINDOWS\system32\drivers\etc
- Find the file named “HOSTS”
- Open it in notepad

- You will see bunch of code lines at the end of that notepad file, All you have to do is add 1 in the IP address, give a space and enter website address that you want to block.
- Lets suppose, you want to block Facebook.com and Youtube.com. The code will look like;
127.0.0.1 localhost
127.0.0.2 facebook.com
127.0.0.3 youtube.com
127.0.0.4 www.youtube.com
127.0.0.5 www.youtube.com
127.0.0.2 facebook.com
127.0.0.3 youtube.com
127.0.0.4 www.youtube.com
127.0.0.5 www.youtube.com
Note: Its important to write website address twice i.e. Once without WWW and second time with www.
- Thats it.
Now, whenever you want to unblock any website, simply remove the website name from the list and re-start your Internet browser.