Do You Need an ADVOCATE for Family, Civil, Criminal, Cheque Bouncing or ACB Matters in Mumbai? CLICK HERE


Saturday, April 30, 2011

How to Block a Website

Many times we need to unblock certain websites to gain access to some important stuffs. We all know many ways to do that. But how about actually learning to block one?

Have you even been in a situation when you have to block certain websites from your computer for any reason? Well, I am not sure about any body else but certainly I have been many times in such situation.

Parents may also want to prevent access to certain websites on their computer so that children can’t get to them from internet.You can just block the websites you don’t want them to visit. In just 3 simple steps, without any software downloading, you can block as many websites as you want easily.


Step 1
Click Start > Run. Type notepad C:/Windows/System32/drivers/etc/hosts in the “Open:” field and click OK.



Step 2
A notepad will pop up. Find the line where it says “127.0.0.1 localhost




Step 3
Immediately under the “127.0.0.1 localhost“, enter the website you want to block by using the format “127.0.0.1 website.com”. For example, you want to block Google from being accessed then type : 
127.0.0.1 www.google.com



You can block as many websites as you want, just make sure you only enter one URL per line.

Note : To unblock the blocked websites, just simply remove the line and you are done.

Subscribe via Email


Related Posts :



61 comments:

  1. i am using internet at my home and my PC is shared with my junior and i want to block some sites for my junior..

    thanks a lot for these easy tips about Computer

    ReplyDelete
  2. thanks for this tutorial. =)

    ReplyDelete
  3. Wow. I am looking over the net for quite some time about blocking a website and your blog really answered my question.

    ReplyDelete
  4. @ Concrete Floor: I am glad that my post helped you.

    ReplyDelete
  5. can this also be done to other search engines since im using different search engine like bing and ask.com?

    ReplyDelete
  6. Very good suggestion and simple to understand.... Thanks for sharing it...

    ReplyDelete
  7. @ bakeware : Yes, this trick works on any Windows PC.

    ReplyDelete
  8. Wow! Amazing! Thank you for sharing your ideas with us. You really gives me an idea on how to block certain websites. In my case, I really want to defend and protect my business website for those spammer as well as to my competitors. This post is really good and advisable for the use of personal or public websites. Thank you very much!

    ReplyDelete
  9. that is totally new simple trick you have shared otherwise i used to make groups of users and apply policies that is the standard way but very rare information share thanks.

    ReplyDelete
  10. This is a great computer trick. Hope to read more computer tricks.

    ReplyDelete
  11. TO block websites, we can use Router level blocking. However the best solution is to use OpenDNS service which is for free to block unwanted websites, Many corporates use this service in their offices.

    ReplyDelete
  12. @website hosting manual - Uhmm, what is the difference between Router level blocking with OpenDNS, i am having a hard time finding there difference in the internet.

    ReplyDelete
  13. really very great information to block unwanted websites. thanks for this great post

    ReplyDelete
  14. Great stuff thanks for sharing the information.

    ReplyDelete
  15. I like this tutorials... thanks for sharing.

    ReplyDelete
  16. Nice post. I indeed agree to some idea that you have tackle down on this review.

    ReplyDelete
  17. editing the hosts file is definitely a great way to block site access. You can also block software getting out, and you can use it when DNS to sites hasn't updated. Just remember to keep the file locked down, so if you block sites, non-admin users can't edit.

    ReplyDelete
  18. Very useful to block p*rn sites. My brother will be shocked lol! Thanks for sharing :)

    ReplyDelete
  19. editing the HOST file is a nice trick. thanks for the share

    ReplyDelete
  20. I feel powerfully about it and love learning more on this subject. If probable, as you gain proficiency, would you mind updating your blog with additional information? It is very helpful for me.

    ReplyDelete
  21. Nice, simple and effective.
    I once got a customized host file to block known unwanted sites.

    Thanks for sharing.

    ReplyDelete
  22. Awesome! This post really helped me. Thank you, now i know how to block a website.

    ReplyDelete
  23. Any special trick to block only porn and adult website...!!!

    ReplyDelete
  24. @ VPS HOSTING : You can block as many websites you want, but the condition is that you need the URL of that particular website. You can't block websites with specific categories with this trick.

    ReplyDelete
  25. I already use this technique, its nice tech, thanks for sharing.

    ReplyDelete
  26. Nice step by step. I've written down these steps for my husband and sister, but the post it seems to get lost in their messes. I'll send them this link and hopefully they're just bookmark this for future use.

    ReplyDelete
  27. i have a clear interest in this post , iam visting the blog regularly and comments are updating regularly . so veryone like this post automatically ...

    UK Business Directory

    ReplyDelete
  28. We get this request very frequently from business customers. Now we have to do it on our virus removal trips. We typically have to block virus sites by using open dns and google dns 8.8.8.8.

    Virus Removal

    ReplyDelete
  29. Thank you for sharing such relevant topic with us. I really love all the great stuff you provide. Thanks again and keep it coming.

    ReplyDelete
  30. Great step by step guide. Screenshots are working very fine to clearer the questions. Beautiful trick

    ReplyDelete
  31. great tips.. thx for share.. :)

    ReplyDelete
  32. It's a beautiful trick to know about for everybody.Better try it as early, and be amazed how it work.

    ReplyDelete
  33. Thanks, but i dont have any website to block..haha

    http://bestcheapprojectors.wordpress.com/
    http://cheapforprojectors.blogspot.com/

    ReplyDelete
  34. Wow,,,,, It is a admiring post relevant to its content and the point of discussion is very nice and quite informative,, people can take the guidence as well help to be fruitful by this post and sharing that you have done in this content, i like this blog... :)

    ReplyDelete
  35. This is very interesting to me because I know that 127.0.0.1 is a loopback address. I had no idea it dealt with websites being blocked/unblocked at all.

    ReplyDelete
  36. You write about many interesting things and the themes you chose are fascinating. Can we expect any new feeds to your blog ?

    ReplyDelete
  37. Thank you for sharing this information. It will help a lot to block some websites that contains viruses. Now, i can surf with no worries.

    ReplyDelete
  38. Your article is really good thanks for sharing keep it up

    ReplyDelete
  39. thanks for sharing such a nice article good work keep it up

    ReplyDelete
  40. I've heard of this before, but I never knew how to block a website until now. I'm liking this whole "computer tricks" stuff that is found on this nifty little blog site of yours. Keep up the good work; cheers!

    ReplyDelete
  41. Very informative and helpful post Saif, i never knew how to do this but wanted to on a few occasions.

    ReplyDelete
  42. This
    post was very nicely written and it also contains many useful facts i enjoyed

    your way of writing this post thanks for sharing your thought.

    ReplyDelete
  43. This guide helped me a lot, since I need to block some websites for my little brother. Thank you for sharing this awesome information!

    ReplyDelete
  44. This could be very useful for system administrators.

    ReplyDelete
  45. Thank you for sharing this information.i like you post,i need block some websites but i can't find any help,thank you

    ReplyDelete
  46. Thanks for nice post, really helpful for me. Some site was blocked at my college systems but now not in my system.

    ReplyDelete
  47. wow great tips now i am using for porn sites....

    ReplyDelete
  48. this is greaaaat! i had no idea u can do it like this, i used to use a tool for this...
    thanks you sooo much!

    ~alex

    ReplyDelete
  49. I am happy when reading your blog with updated information! thanks alot and hope that you will post more site that are related to this site.

    ReplyDelete
  50. Can it be done to allow only few sites instead?

    ReplyDelete
  51. Thanks for this post. Quite informative and useful for me! Hope to see more new posts!

    ReplyDelete
  52. Thanks for this very useful post, actually i want to block some unwanted website and you guys simply awesome, very nice post..

    ReplyDelete

Have an opinion or suggestion?
Need more help?
If so, drop your comment below.

Important : If you are asking a question click the Subscribe By Mail link below the comment form to be notified of replies.

Do not add any links to the body of the comment. This will result in your valid comment not being published.

Related Posts Plugin for WordPress, Blogger...