Search This Blog

Monday, April 17, 2017

How to block a site on all browsers without any firewall.

You can block any particular site on your computer browser with following steps.


Open path - C:\Windows\System32\drivers\etc


Inside "etc" directory open host file with any editor (Notepad, Notepad ++)



Enter the website you want to be block with below syntax.

127.0.0.1 facebook.com

127.0.0.1 www.facebook.com

127.0.0.1 www.google.com






save the host file and the sites will be block on all the browsers.

Note- saving host file will ask for "save as" in various operating systems. In that case copy the host file on your desktop, then make changes in the host file as above, then save the file and replace this desktop file with "etc" directory.


No comments:

Post a Comment

Copyright © 2017 | Aayush Kamboj. Powered by Blogger.