Block Unwanted Websites – by just editing host file


Recently a friend of mine, who works at a gaming parlour asked me how to block certain websites. I knew there were many programs out there including some antivirus/firewall suites. But, he needed the solution to work at different parlours. After some research, I found that it was actually very easy to do this.

Warning !! Please backup your file before editing

Open HOSTS file which is located at C:/windows/system32/drivers/etc using notepad.

hostfile

Lets say you want to block www.hityou.com

Just add 127.0.0.1 www.hityou.com as shown in the image above. You may also add the site without the www. for added safety.

Thats it !!! Now when you try to open the website, your browser will be unalbe to connect to this website because the DNS for the website has been changed to 127.0.0.1 instead of the real DNS.

This is how Spybot S&Dblocks sites with spyware ;-)

This post is about hosts file to block social networking sites,recommended social websites for hosts file,host file,block social networks host file,hityou com,applications that block unwanted websites,how to block social network sites using host file,how to block social networks host file,how to block unwanted downloader in host file,how to edit hosts file to block sites,social networking host file,hosts file social networking sites,host file social media email,host file block social networking sites,edit host file to block websites,blocking unwanted sites with host.

Related posts:

  1. CutePDF Writer – Print from any application into a PDF file
  2. Find and Download Fonts Used by Famous Websites
  3. File Sharing sites blocked in India by DoT
  4. Open ISO file – How to
  5. Free Audio Editing Software – FAE


Discover and Share Take a moment to share this post on social networking sites !
The Author
Alfred is a Pilot & Tech blogger from Bangalore, India. He has worked with DSL providers like AOL, SBC, Verizon & Covad as a tech specialist. Currently he is pursuing a career in aviation.
View other post by



Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically each day to your feed reader. If you don't have a feed reader, you can always have these articles delivered to your email inbox every day. Click here to sign up.

Trackbacks & Pingbacks

[...] you will find a file named hosts. Unfortunately Vista and Win 7 users cannot modify the file directly. So copy this file to your [...]


Comments

A great way to be even more secure with the blocked sites is to ensure the PC users do not have admin rights to the machine. Then they wouldn’t be able to edit it back to normal. This is really only required when you have advanced users you are trying to stop from accessing.

I made a point and click instructional video on how to block the hosts file. It can be found here.

http://helpviavideo.com/watch.php?vidid=37

Leave a comment

(required)

(required)



Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>