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" .....open it with wordpad
Under "127.0.0.1 localhost" Add "127.0.0.2 www.abc.com" ,
and that site will no longer be access able.
eg:- .....
127.0.0.1 localhost
127.0.0.2 www.abc.com
www.abc.com is now inaccessible able.
I found out a very simple method to do it ....
Browse to C:\WINDOWS\system32\drivers\etc
Find the file named "HOSTS" .....open it with wordpad
Under "127.0.0.1 localhost" Add "127.0.0.2 www.abc.com" ,
and that site will no longer be access able.
eg:- .....
127.0.0.1 localhost
127.0.0.2 www.abc.com
www.abc.com is now inaccessible able.
i tried this thing.. bt its not working on my windows 7.. it says some thing like this
ReplyDelete"you dont have the permission to save this in this folder. Contact your administrater for permission"..
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.
ReplyDeleteThe steps are very simple .... and the concept is that it just map a site name to wrong address :)
ReplyDelete