Whether you suspect your children are visiting websites they shouldn't, feel certain sites are distracting you from work or just want to remove a website from your life entirely, blocking that site can be a good way to do so. Google Chrome blocks a large number of hazardous sites, but it does not allow users to specify specific sites to block. However, Windows does, and making the changes is as simple as editing a text file.
- Skill level:
Click "Start" and type “C:WINDOWS\system32\drivers\etc” in the Search field at the bottom of the Start menu.
Right-click on the “hosts” file and select "Open." Choose "Notepad" as the program you wish to use to open the file, and click "OK."
At the bottom of the document, type “127.0.0.1” (without the quotes), followed by at least one space, followed by the URL of the website you want to block. For example, if you wanted to block “bing.com” you would enter “127.0.0.1 bing.com”. Do not put either "http:" or "www" in front of the names of websites you wish to block; doing so will result in the site not being blocked. You are blocking the entire site regardless of protocol.
Save the document and restart your computer. Any attempt to visit the site you blocked in Chrome or any other browser will result in an error message.
Tips and warnings
- Windows Explorer can be found by clicking 'Start' then 'My Computer'
- If the address bar does not appear click 'View' point to 'Toolbars' then click 'Address Bar'. You may then have to drag it over from the right side of the screen.
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for