Pages


Search

Saturday, 10 August 2013

How to Block site for all Browsers.


      1. 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 google.com for example, just add this text under 127.0.0.1 localhost:

, just add this text under 127.0.0.1 localhost:



127.0.0.1 www.google.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
Google will now be blocked in all web browser. This

For open  that sites which are Blocked
 For example, just remove this text under 127.0.0.1 localhost:

127.0.0.1 www.google.com

No comments:

Post a Comment