Search this blog

Sunday, March 23, 2008

Block websites without using any software!!

  • Open the folder C:\WINDOWS\system32\drivers\etc.
  • Look for the file HOSTS.
  • Open the file HOSTS in your favorite Text Editor ( mine is Textpad)
  • Under the line "127.0.0.1 localhost" add another line as "127.0.0.2 www.abc.com ".
  • Similarly to block www.def.com add another line as "127.0.0.3 www.def.com ".
  • Both the sites are now blocked. In case if you want to add more in your blocked websites list, just edit the list and add more.

No comments: