Wednesday, 10 October 2012

Win Tips 5:How to block a website using the Hosts file

How to block a website using the Hosts file

The location of the hosts file depends on your operation system.
Windows XP, Vista and Windows 7 C:\WINDOWS\system32\drivers\etc\hosts

Windows 2000  C:\WINNT\system32\drivers\etc\hosts
1. Open the hosts file using Notepad or other plain text editor.
2. Find the line localhost
3. To block, for example, the website, add this text under localhost:
4. Save and close the Hosts file.
5. Reboot your computer to apply the changes.
6. Try to open into a browser.

==>then go to Start->Run-> type ipconfig /flushdns

2. How to block a website on Internet Explorer

1. Open Internet Explorer and click on Tools
2. Click Internet Options
3. Click on the Content tab
4. Click the Enable button
5. Click on the Approved Sites tab
6. Type the website address you want to block in the box, for example,
7. Click Never and then OK
8. In the appeared window type and confirm your new password
9. Click on the General tab and make sure to select Users can see websites that have no ratings
10. Click OK

No comments:

Post a Comment