Steps to block:
127.0.0.2 www.blockedsite.com
–>www.blockedsite.com is now unaccessable<--
For every site after that you want to add, just add “1″ to the last number in the internal ip (127.0.0.2) and then the addy like before.
127.0.0.3 www.yahoo.com
127.0.0.4 www.google.com
127.0.0.5 www.hotmail.com
Steps to unblock:
Now just remove the line (containing URL of site ) and if you have added more than one sites to block then make those number come in serial order like
127.0.0.1 localhost
127.0.0.2 www.orkut.com
127.0.0.3 anyothersite.com
127.0.0.4 anyothersite.com
Now for example if you want to unblock orkut.com then remove the line and number them in a way that they come in a serial manner
127.0.0.1 localhost
127.0.0.2 anyothersite.com
127.0.0.3 anyothersite.com
- Browse C:\WINDOWS\system32\drivers\etc
- Find the file named “HOSTS”
- Open it in notepad
- Under “127.0.0.1 localhost” Add 127.0.0.2 www.sitenameyouwantblocked.com , and that site will no longer be accessable.
- Done!
So
127.0.0.1 localhost127.0.0.2 www.blockedsite.com
–>www.blockedsite.com is now unaccessable<--
For every site after that you want to add, just add “1″ to the last number in the internal ip (127.0.0.2) and then the addy like before.
127.0.0.3 www.yahoo.com
127.0.0.4 www.google.com
127.0.0.5 www.hotmail.com
Steps to unblock:
Now just remove the line (containing URL of site ) and if you have added more than one sites to block then make those number come in serial order like
127.0.0.1 localhost
127.0.0.2 www.orkut.com
127.0.0.3 anyothersite.com
127.0.0.4 anyothersite.com
Now for example if you want to unblock orkut.com then remove the line and number them in a way that they come in a serial manner
127.0.0.1 localhost
127.0.0.2 anyothersite.com
127.0.0.3 anyothersite.com
No comments :