Wednesday, June 15, 2011

How to block a website

1.       Open Run, and type in ‘C:\Windows\System32\drivers\etc’, press enter. A folder should open up with the following contents.

2.       From the above files, open the “hosts” file using a notepad. The following is how the contents of this file should appear.

Now we will have to edit this “hosts” file, so as to block certain sites, which in this scenario are
 1. and
The following changes are required for the same…

3.       Now try opening these websites using any of the browsers. The site will not open instead an error message will be shown. You can block any number of websites using this method.



Post a Comment


2011 ·Code-Studio by yrus.