Home » Tips & Tricks: PC

How To Block Websites Without Any Software

Posted By: Monday 14 April 2008 3 Comments

Do you want to block some websites without paying a lot of money for some software? If the answer is yes, then just follow the steps and you’ll see that you can block websites on your own! :wink:

  1. Browse C:\WINDOWS\system32\drivers\etc
  2. Find the file named “HOSTS
  3. Open it in notepad. (You’ll see the text below)

    # Copyright (c) 1993-1999 Microsoft Corp.
    #
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    #
    # This file contains the mappings of IP addresses to host names. Each
    # entry should be kept on an individual line. The IP address should
    # be placed in the first column followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    # space.
    #
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name denoted by a ‘#’ symbol.
    #
    # For example:
    #
    # 102.54.94.97 – rhino.acme.com – # bronserver
    # 38.25.63.10 – x.acme.com – # x clienthost

    127.0.0.1 localhost

  4. Under “127.0.0.1 localhost” Add 127.0.0.1 www.sitenameyouwantblocked.com.
    For example:
    127.0.0.1 localhost
    127.0.0.1 www.blockedsite.com.
  5. Save the file and open your web browser and type the website adres which you just entred and you’ll see that the website is unaccessible!

That’s easy hu? And that without spending any money! :razz:

If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed and I'll deliver the future articles to your feed reader.
Behrad

About Behrad:

I'm 29 years "old", married to Jannie and about to be a daddy! We live happily in Eindhoven, The Netherlands.
In 2006 I started BioTecK.net just to show/share my portfolio. After a while I started to blog about my experiences and stuff I do in my life, my interests; computers & computer related stuff, tips & tricks and basically everything which I want to share.
Read more about me, follow me on Twitter @BioTecK or contact me .

3 Comments so far, be the next one! »

  1. Reena says:

    Hi, thank u for replying my entrecard drop. i have blogroll your site in my serious droppers list. I visit all the sites in this list almost everyday plus most of my visitors too. We all have the same idea of getting return drop cards. Hope that you can blogroll my site back in your web too.

    Thank you,
    Reena http://reenashwina.blogspot.com

    Reena’s last blog post..Entrecard Fever

  2. BioTecK says:

    Hello Reena,

    I’m not a serious dropper, but like EC sais “Consistent, regular dropper”! :roll: So if you drop, I drop! :wink:

    Anyway, Welcome to my place and ow yeah I’ve added your link into my Link list! :)

  3. Hi, it’s a good why to drive someone crazy too :twisted: ! replace the url of the sites he likes to visit with the ip adress of another site (use your imagination :wink: ) :lol:

    virtual milleniums last blog post..LogMeIn: Free Leading Way To Remote Access PCs And Macs From Anywhere

Leave a Reply

All line breaks and paragraphs will be generated automatically.
BioTecK.net is a Gravatar-enabled blog. To get your own avatar, please register at Gravatar.
You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Notify me of followup comments via e-mail. You can also subscribe without commenting.