Saturday, 16 June 2012

HOW TO BLOCK A WEBSITE ON A PARTICULAR COMPUTER



  • Click Start->All Programs->Accessories->Command Prompt.
  • Click Command Prompt This will open a DOS command window.
  • Type: notepad C:/Windows/System32/drivers/etc/hosts
  • Locate the line 127.0.0.1 localhost
  • To block the website xyz.com for example, just add this text under 127.0.0.1 localhost:

127.0.0.1 xyz.com

127.0.0.1 www.xyz.com

You can add as many sites any site, However you will need to prefix it with “127.0.0.1″.

  • Save the file

xyz.com will now be blocked in all web browser. This is an advanced but easy method on how to block a website

0 comments:

Post a Comment