Tuesday, 1 January 2013

HOW TO BLOCK A WEBSITE ON A PARTICULAR COMPUTER



1. Click Start->All Programs->Accessories->Command Prompt.


2. Click Command Prompt This will open a DOS command window.


3. Type: notepad C:/Windows/System32/drivers/etc/hosts


4. Locate the line 127.0.0.1 localhost


5. 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″.


6. Save the file
.
xyz.com will now be blocked in all web browser

0 comments:

Post a Comment