Thursday, October 29, 2009

Block site without any software

I was trying to block few site in my comp ..... and finally
I found out a very simple method to do it ....

Browse to C:\WINDOWS\system32\drivers\etc

Find the file named "HOSTS" it with wordpad

Under " localhost" Add "" ,
and that site will no longer be access able.

eg:- ..... localhost is now inaccessible able.

figure - click to enlarge


  1. i tried this thing.. bt its not working on my windows 7.. it says some thing like this

    "you dont have the permission to save this in this folder. Contact your administrater for permission"..

  2. I have not tried it in windows7 but this thing will work on Windows XP. I think that the folder doest not have permission for you. Try to log in as admin and then try.

  3. The steps are very simple .... and the concept is that it just map a site name to wrong address :)