Monday, September 5, 2011

Block Any Website On Your Computer

http://techtoggle.com/wp-content/uploads/2009/01/block_anywebsite.jpgIf you want to block certain websites on your computer without any software then this trick can be very helpful to you.You can block any number of websites and if blocked they cannot be opened in any browser like google chrome,firefox,opera and Internet explorer.

For this trick we will edit the host file of the windows and will use the Ip address 127.0.0.1 (i.e localhost).Whenever somebody will try to open the blocked website the user will be redirected to local

host.This trick works in windows xp,vista and windows 7


1. Run notepad as admin

2. Now under file press open and goto C:\Windows\System32\Drivers\Etc and find the file “hosts”.

3. When this hosts file is opened in Notepad, at the end of the file you will see something like “127.0.0.1 localhost”.

4. Under “127.0.0.1 localhost” just add another website URL that you want to block.


Example
127.0.0.1 localhost
127.0.0.2 www.amazon.com
127.0.0.3 www.facebook.com

3 comments:

  1. sir iam not understand first method for ur programme.
    please help me in mail id rodhdhiraj@gmail.com

    ReplyDelete
  2. sorry previos mail id is wrongly type
    correct mail is roshdhiraj@gmail.com

    ReplyDelete
  3. this is not a program
    just go to the directory and edit the file name "host"

    and rest are told
    thank you

    ReplyDelete