How to Block Websites

How to Block Websites

You can block some websites from opening on your computer using this trick.

step1: Type this %windir%\system32\drivers\etc in run (WIN + R)
or navigate to C:\Windows\System32\drivers\etc

step2: open notepad from start menu by typing notepad and running it as an administrator and then Open the hosts file by navigating to C:\Windows\System32\drivers\etc.

step3: Now if you want to block a site. say facebook or google for an example. Then type these lines.

From the next time, the above sites will not open in your browser. To unblock, remove the above lines from the notepad (Note: This trick will work if your browser is not open.If your browser is open then close the browser and restart it.)

Leave a Reply

Your email address will not be published. Required fields are marked *