- Back to Home »
- internet tricks , windows tricks »
- Block Websites in Windows
Posted by : Unknown
Sometimes it may be necessary to block a website for privacy,due to adult content or simply to avoid websites which use a large amount of bandwidth. Here is the simplest and most effective way to block all access to certain websites or domains.
Open the windows HOST file. In Windows 7, Vista, and XP it should be located in the following directory (or the drive in which windows is installed) C:\WINDOWS\SYSTEM32\DRIVERS\ETC\
Edit the file named HOST in notepad.
Set it up. Add the following line of code to the bottom of the file: 127.0.0.1 localhost
Block each website. For each website you wish to block add a new line of code:127.0.0.1 website to block (see the next step for an example).
Example: 127.0.0.1 facebook.com
Save the file. File-> Save-> Yes Overwrite
Test. Direct your web browser to the blocked website to ensure the block has been successful.
Categories
Blog Archive
-
2014
(79)
- August (1)
- June (5)
- May (20)
- April (43)
-
March
(10)
- Remove all Windows 8 apps using PowerShell
- REMOVE WINRAR TRAIL POPUP MESSAGE
- Disable the Lock Screen And Login Screen in Windows 8
- Windows 8 store is not Connecting to Internet
- Top 5 Apps That Help Save the Battery on an Androi...
- Sync Android’s SD Card With Dropbox
- Samsung mobile secret codes updated 2014
- Block Websites in Windows
- Display Your Name Next to Time in Windows Taskbar
- Nokia secret codes