Sunday, January 23, 2011

How to Block a Website

How to Block a Website :-

To block websites on your home computer without investing in expensive software, here’s the trick (for Windows PCs):

Step 1:  Click the Start button and select Run. Now type the following text in that Run box:

notepad c:\WINDOWS\system32\drivers\etc\hosts

Step 2: You will see a new notepad window on your screen containing some cryptic information. Don’t panic. Just goto the last line of the file, hit the enter key and type the following: 

127.0.0.1 orkut.com
127.0.0.1 facebook.com
127.0.0.1 myspace.com 

Save the file and exit. That’s it. None of the above sites will now open on your computer. 

You can block as many websites as you like with the above technique. If you want to remove the ban later, open the same file as mentioned in Step 1 and delete the above lines. 

i.e.

1. Block website in all web browsers

Browse C:\WINDOWS\system32\drivers\etc , find file hosts and open that file with notepad
block site

In notepad file find 127.0.0.1 localhost and below add something like 127.0.0.1 blockedsitename.com and 127.0.0.1 http://www.blockedsitename.com . My blocked sites looks like this



Then select File and click Save or press Ctrl+S



After this will be blocked certain website in all web browsers.

No comments:

Post a Comment