
HOW TO: Block Websites Without Using Any Software
- Updated On 05/03/2016
- Author : Pradeep Kumar
- Topic : Security
- Short URL : https://hellboundbloggers.com/?p=86
CONNECT WITH HBB ON SOCIAL MEDIA
This is only for parents (Ha ha..!) who want to protect their children from accessing unwanted websites. It is simple to block. You don’t need any software for this. You can ask me “why I need this trick?” since many browsers provide you option for blocking websites. Yes that is true. But if by any chance your child is tech-savvy minded, he/she can easily install another browser and access those sites. But this trick is done in the system so it automatically prompts all the browsers to block that site. Here is the trick. You may get worry for accessing these sections in your system, if you do these steps carefully, it really works fine and no issues will rise. Windows uses a Hosts file to maintain a personal list of web addresses. The Hosts file will be checked when any URL request is made. First go to C:WindowsSystem32DriversEtc folder.
You can block the sites by adding entries to Windows “Hosts” file and it is editable file, so open it with notepad. At the bottom you can a line like this, 127.0.0.1 localhost Now type a line similar to it below, with the URL of the site which you are going to block. 127.0.0.1 www.xyz.com

Open the hosts file with a word processor like NotePad
You can block the sites by adding entries to Windows “Hosts” file and it is editable file, so open it with notepad.
At the bottom you can a line like this,
127.0.0.1 localhost
Now type a line similar to it below, with the URL of the site which you are going to block.
127.0.0.1 www.xyz.com
The number 127.0.0.1 is the “loop back” IP address of your own computer, so Windows skips the link to that site and moves on.
So thus that website is blocked permanently in your system because the DNS for the website has been changed to 127.0.0.1 instead of the real DNS. You can also do this for preventing ads and spyware.
Want to discuss your queries and interact with experts? You can connect with HellBound Bloggers (HBB) Facebook group for free!
Join HellBound Bloggers (HBB) and get Instant Updates. We'll also notify you with Great Deals, Discounts and other Interesting Tips. We won't SPAM or SHARE your Email Address with anyone.
YOU CAN ALSO SEARCH FOR YOUR DESIRED TOPICS:
Thank you for reading! We welcome and appreciate your comments, but at the same time, make sure you are adding something valuable to this article. If you have any serious queries, suggestions or anything related to this article, feel free to share them, we really appreciate that.
But, if your blog comments are a random "Thank you", "Useful Post", or anything that doesn't actually upscale the article, then we'll be removing them and it won't be appeared below. Thanks for understanding and thanks for connecting with us. If you want to give us any feedback or report any errors, you can kindly contact us and we'll revert back soon.
- Comments
- Facebook Comments
-
Comments
Leave a Reply
18 Comments
Facebook Comments
edmidor
Whatever blocking is in question – be it inbound or outbound, it's better to do it on a separate physical device if possible. If self-hosted I would definitely get one of the advanced routers and do all the access rules there.
Yasser Khan
Neat trick actually! Quite helpful for non-techie types!
Narendran.M
dude!! i don’t want to block any site.. is there any possible solution to unblock a blocked site??
BTW thanks for sharing this post..
S.Pradeep Kumar
Check this one mate…
http://hellboundbloggers.com/2009/04/15/how-to-access-blocked-websites/
Abhijeet
The host file is a fabulous file that access the local DNS server on our computer..
Martin
One thing you can do to help stop those tech kids is to lock down the computer. Give each user a login with user rights only. Ensure you are the one with admin rights only. Then they cannot edit the hosts file. Or hey also you could block access to all the search sites like google, bing and yahoo so they cannot research. Just an idea. It would definitely slow them down.
Anyway for those having trouble following the “how to” I’ve created a point and click instructional video on how to block access to websites. Here is the link http://helpviavideo.com/watch.php?vidid=37.
Remember too when blocking you need to add the site as www.thesite.com as well as thesite.com to the host file.
Last note when testing after you edited the file you must close and then reopen the browser for the changes to take effect.
Dushyant
Thankz for sharing ๐
S.Pradeep Kumar
Thanks Dushyant ! ๐
Pattanaik
Thanks for sharing this one. I agree its greatness is in its simplicity.
But as you said in the start of your blog. If a Kid is tech savvy he would beat this layer of protection as well.
All he has to do is post a question on a forum. People like us will love to spoil other kids. LOL.
I would suggest ISP level blocking requests. If available. A normal home does not have routers.
S.Pradeep Kumar
๐ Yeah.. it is just a matter of protection ! ๐
But a simple mistake in this hack opens Pandora’s Box ! ๐
Chris
Most routers allow you to block sites too. I have a netgear router which has this function ๐
S.Pradeep Kumar
Yes. They have that function buddy, but this trick is quite simple ! ๐
Sunny
http://notmystuff.blogspot.com/2009/06/how-to-block-websites-without-software.html with screen shots…………..
S.Pradeep Kumar
Thanks for sharing mate ! ๐
Link exchange SEO
good info….i tried and got success
S.Pradeep Kumar
Glad it helped you ! ๐
Hope it is for security purpose ! Ha ha…
glen
And what of those savy kids who surf the net and find websites like this who then know where to go to delete all those blocked sites from that directory? you just gave them the key to unlock those doors once again.
S.Pradeep Kumar
I know I will get comments like this mate ! ๐
This is a temporary solution only …
Consider like this, the kids are not that much tech savy to change those stuffs ! Because the terms are different here…”Hosts”, “System 32” and many more…