25 July 2013

How to block a website in your PC

 How to block a WEBSITE

                                                  Blocking a website requires no additional software,it can be done manually.It requires accessing hosts file.One might wonder what is the need in blocking a website,but it is helpful in many cases.
Follow these simple steps to block a website.
1.Right click on notepad and "Run as administrator".
2.Open the file in the specified path (Shortcut: Ctrl+O).
  Cdrive>Windows>system32>drivers>etc:  
3.Switch to "All files" from "text document files" and open "hosts" file.
4.There at the bottom you see "local host" with some number preceding it.
5.Now add the website you want to block by increasing a number as shown below.

 6.Now "save as" the file in "all files" format and close it,then restart your browser.
If you try to open the blocked website it won't appear showing the message "can't open the website bla bla bla....."
             You can use this trick to block unnecessary websites.You can also tease your friends by using this trick on their systems.

No comments:

Post a Comment