How to block a website on Windows XP

Posted by Asad Abbas | Sunday, October 12, 2008

Sometimes you need to block a certain website or few websites on your PC, Be it for parental control or for shared computer security . Now you don't need to install any software on your computer. There is a simple tricks for it on windows XP. Follow the steps and you'll end a blocking a site.

1) Go to My Computer.

2) Open folder C:\WINDOWS\system32\drivers\etc.

3) You'll see a file called hosts. Right click on it an open it with Notepad or any other text editor.

4) At the end of that file you'll see something like

127.0.0.1 localhost

5) Add a new line and write 127.0.0.1 website-name.com . Example if youwant to block orkut.com you'll write :

127.0.0.1 www.orkut.com

6)Save the file and restart your browser and you won't be able to open that site again. In case you want the website to unblock any time then you will have to just remove the line you added from the file.

Hope you liked the trick. If you have any problem using this trick then leave your comment.
http://techasad.blogspot.com/2008/10/how-to-block-website-on-windows-xp.html

Bookmark and Share
1 comments
  1. Anonymous October 12, 2008 at 10:03 PM  

    gr8 man... now i can stop my sons from watching parental movies