HomeWindowsWindows 7/XP/Vista: How to Block Unwanted Sites Without Additional Software

Windows 7/XP/Vista: How to Block Unwanted Sites Without Additional Software

If you want to keep your youngsters from accessing certain sites, you want to block certain cites due to their content, or if you want to play a mean joke on a co-worker, you can block sites by redirecting them to the computer’s IP address that is used for a loopback network connection.

1. Open Computer (My Computer on Windows XP machines).

2. Browse to C:\Windows\System32\drivers\etc

3. Right-click the hosts file and open it with either Notepad or Wordpad.

4. Scroll to the bottom of the page.

5. Input the following:127.0.0.1       Siteyouwantblocked.com

where siteyouwantblocked.com is the name of the site you wish to block. Press Enter and repeat this step until you have entered all desired sites.

6. Add an extra carriage return by pressing Enter.

7. Save the file.

8. Close Notepad (or Wordpad).

The sites that you have added to the hosts file will now be blocked.

Rob Rogers
Rob Rogers
Once a prolific author here on Tech-Recipes, Rob has moved on to greener pastures.
RELATED ARTICLES

30 COMMENTS

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -

Most Popular

Recent Comments

Cleveland Furia on How to Clear Google Activity
Sid Wohlfarth on How to Clear Google Activity
Riley Magsayo on How to Clear Google Activity
สมัครรับเครดิตฟรี ทันที on How to improve Remote Desktop Protocol Performance
Neal Wangstad on How to Clear Google Activity
Slavcho Andov on How to install Ubuntu
Slavcho Andov on How to fix bad sectors
Sheraz Ali on How to Backup Android