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 blockexample-site.com,add this to the bottom of the hosts file:
127.0.0.1 example-site.com5. Save the file.
For Macs :
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:
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.com6. Please note that you should add both "example_site.com" and "www.example_site.com" to the list. if you don't, the block might not work properly.

No comments:
Post a Comment