Steps To Block Specific Websites
1. Find your computer's HOSTS file.
i.e, C:\windows\system32\drivers\etc
i.e, C:\windows\system32\drivers\etc
2. If the file is missing simply create create a new one by going to:
File >> New >> Text File.
Name it "HOSTS" without the .txt
File >> New >> Text File.
Name it "HOSTS" without the .txt
3. Open the hosts file using Notepad. Right-click and select Open With >> Notepad.
4. Add new entries to block at the bottom of the file. For example, if you wish to block example-site.com,add this to the bottom of the hosts file:
127.0.0.1 example-site.com
1. Change to the Finder
2. Click on the "Go" menu, "Go to Folder..."
3. Type "/etc/" in the dialogue box that pops up and click "Go".
4. Open file named "Hosts".
5. Add the following entries to the file:
127.0.0.1 example_site.com
127.0.0.1 www.example_site.com
Leave a Reply
Make sure you tick the "Notify Me" box below the comment form to be notified of follow up comments and replies.