Blocking a website is a piece of cake! By Blocking i mean that it will block all users of a Windows PC from opening certain websites, regardless of the browser they use or the time of day?

BLOCK WEBSITE
This tutorial will be useful for many of us….may be a parent doesn’t want his child to use facebook...or want to avoid his child to stay away from resticted content…!!!This method is very simple and doesn’t require any additional software ,you have to just perform certain steps
You will need to make a few simple additions to the Windows hosts file for making it work.

Let me tell you what is a host file?

The host file stores information on where to find or locate a particular computer on the network.It basically maps hostnames or domain names to IP addresses.

Where to find Host file?

Depending upon your operating system,the hosts file can be found at different locations:

OPERATING SYSTEM                                      LOCATION
Microsoft Windows 98,ME                              C:windows
Microsoft Windows                                           C:windowssystem32driversetc
(NT/2000/XP/2003/Vista/Win 7)

However if Windows is not installed on C:, substitute the appropriate drive letter.

GIVING ADMINISTRATOR PERMISSION TO HOST FILE

Right click on the hosts’ file, choose Properties -> Security and make sure all the boxes are checked in your user account. This should allow you to save the file as an admin.
Admin prop

OPENING THE HOST FILE

Once administrator permission is given to Host file ,you can easily edit or save host file….Now Double-click on  hosts, and select Notepad when Windows prompts you to choose a program.
If you don’t get the prompt, or if the hosts file opens in another program, open Notepad (Start, All Programs, Accessories, Notepad), and then navigate to hosts by clicking File, Open within Notepad.

EDITING THE HOST FILE

Place the cursor at the end of the last line i.e. at the bottom of the host file and type 127.0.0.1 and then give single space and write the website name which you want to block.
Example:       127.0.0.1          yahoo.com
Edit host file
Continue to add the websites you wish to block, each prefaced with 127.0.0.1 and a space.
Now click file>save,to save your work…!!!
Now Restart your computer and then open the Browser to test your edits. The blocked sites should not display in any browser.

Note: Add all of the site’s domains, especially mobile domains, on new lines. Your computer might block “www.facebook.com”, but not “m.facebook.com” if you’re not careful.

10 COMMENTS

  1. It’s an amazing piece of writing designed for all the
    internet people; they will take advantage from it I am sure.keep up the good work techtechnik.

  2. Hey I know this is off topic but I was wondering if you knew of any widgets I could add to my blog that automatically tweet my newest twitter updates.
    I’ve been looking for a plug-in like this for quite
    some time and was hoping maybe you would have some experience
    with something like this. Please let me know
    if you run into anything. I truly enjoy reading your blog
    and I look forward to your new update.

  3. I have been exploring for a little bit for any high quality articles or
    blog posts on this kind of area . Exploring in Yahoo I eventually stumbled upon this web site.
    Reading this information So i am satisfied to convey that I’ve a very excellent uncanny feeling
    I discovered exactly what I needed. I such a lot without
    a doubt will make certain to don?t disregard this website and provides it a glance on a relentless basis.

  4. Howdy! I’m at work browsing your blog from my new iphone 4!
    Just wanted to say I love reading through your blog and look forward to all your posts!
    Carry on the superb work!

  5. I’m not sure where you are getting your information,
    but great topic. I needs to spend some time learning
    more or understanding more. Thanks for wonderful information I was looking for this info for
    my mission.

  6. Nice post. I was checking constantly this blog and
    I’m impressed! Extremely useful information particularly the last
    part :) I care for such information much. I was seeking this certain info for
    a long time. Thank you and best of luck.

  7. Excellent site. Plenty of helpful info here. I am sending it
    to some buddies ans additionally sharing in delicious.
    And obviously, thanks in your sweat!

  8. Useful information. Fortunate me I discovered your site unintentionally, and
    I’m shocked why this coincidence did not came about earlier!
    I bookmarked it.

LEAVE A REPLY

Please enter your comment!
Please enter your name here