If you want to block any website without any softwares, this tricks will be great for you.
Follow the Simple Steps.
- Open My Computer and paste this in the address bar or you may browse C:\WINDOWS\system32\drivers\etc , you will find the file named "HOSTS"
- Click it... Open it in notepad and go to the end of the page
- You will find "127.0.0.1 localhost" Add 127.0.0.2 www.gmail.com below "127.0.0.1 localhost" , and save it (Next line) and that site will be blocked.
NOTE : IF you want, not to block it... just deleted the line you wrote... eg: just delete "127.0.0.2 www.gmail.com" in this case
Oooohhh.... DO you want to BLOCK MORE THAN ONE SITES , here is the tricks
You have to just add "1" to the last number in the internal ip . and paste it below the first one you added.
ie:
127.0.0.2 www.gmail.com
127.0.0.3 www.rediffmail.com
127.0.0.4 www.mail.yahoo.com
127.0.0.5 www.mail.com
and so on..... (one by one)
And To remove them simple delete the lines and left the file as it was.
This also works with banner sites, just find the host name of the server with the banners and repeat the process.
THESE PLEASE DO... AT YOUR OWN RISK.. (Better to save a copy of the file before going)
No comments:
Post a Comment