Block unwanted sites.
How to Block Sites
Social sites is the most usable social networking site in the world with more than, Millions of users. Based on some research, people log on to Facebook many times a day and spend at least several hours checking with friends news updates including checking pages with large number of Facebook likes, etc. Some fears social sites will reduce human productivity and may lead to addictive behavior. If you are searching for the most simple ways to block social and other unwanted site, this post will absolutely helps you.In this post, I will show you simple and quickest ways to block sites by using Hosts file. Enjoy!
Simple Steps to Block Sites
1. Go to Start > Run or press Windows + R
2. Copy these string into Run fields.
Please copy the string based on your Operating System. You can refer below:
Windows XP, Vista and Windows 7 , windows 8
C:\WINDOWS\system32\drivers\etc\hosts Windows 2000
C:\WINNT\system32\drivers\etc\hosts
Windows 98/ME
C:\WINDOWS\hosts
3. Click Enter and then open the hosts file using your preferred text editor. I used Notepad.
4. Copy and Paste the following into the Hosts file after 127.0.0.1 localhost
# Block Sites
127.0.0.1 www.facebook.com
127.0.0.1 facebook.com
127.0.0.1 static.ak.fbcdn.net
127.0.0.1 www.static.ak.fbcdn.net
127.0.0.1 www.twitter.com
127.0.0.1 www.youtube.com
127.0.0.1 www.ebizmba.com
127.0.0.1 www.flickr.com
5. Save your Hosts file and your are done! You can try to open restricted site and if there is still no effect, restart your workstation and retry again.
Attention!
Please make a backup of your hosts file in case of anything happened wrong