Writers' Community!
Home Page Two Columnists Q&A Submit an Article FAQs Contact Author Login
Article Submission
We Need YOUR Articles!
We'll Promote Them for FREE!

Author Login

New Authors
Register Here


Now Serving 8,190 Authors
71,896 Quality Articles
& 4,846 Current Users Online!
Featured Authors
Joel Hendon (18,637)
Sandra E. Graham (10,088)
Steve Kovacs (4,119)
Linda DeWitt (1,955)
Edward Rhymes (8,802)
Brianna Popsickle (2,452)
Teresa Ortiz (11,094)
Julian Price (13,305)
Stephany Springer (41,414)
Abigail Richards (9,854)
E. Raymond Rock (3,087)
Terry Mitchell (5,358)
Mark Parsec (16,695)
Nenita Wells (2,071)

View All Featured Authors
Most Recent
Find Missing People Online - The Secrets to Tracing Lost Friends and Family

How A 404 Error Script Saves Your Online Reputation & Lost Sales

How To Delete Temporary Internet Files

6 Internet Basics for Beginners

10 Things To Remember When Grabbing a Facebook Username

How Do I Block A Website

Tips & Terms to Make the Most of Your Twitter Experience

Newbie Builds a Website

Allergic Rhinitis Is Inflammation of the Nose Resulting From An Allergy

How To Make a Popup Window For You Website

Home » Categories » Internet » Internet Help » How Do I Block A Website » Reprint Rights » Printer Friendly

How Do I Block A Website

Rated 3.5 out of 5
Rated 4.0 by 1 Reader ?
Rate It  /  View Comments  /  View All Articles submitted by Matt Rizos
Submitted Friday, July 10, 2009
Matt Rizos (293)
http://www.geekyspeaky.net
Log in to become a member of Matt Rizos's Fan Club!


In this article I'll show you how to block a website for all users on a Windows XP or Windows Vista PC using the Windows HOSTS file. This method is a free, effective way to block websites in an instant.

Let's Take Care Of The Requirements

Setting up your computer to block websites is easy, unfortunatley it's also easy for people (your kids for example) to undo your changes to the Windows HOSTS file. In order to prevent this from happening we need to setup at least 2 user accounts.

One account will be an Administrator (you) and the other account will be a limited user account (your kids). Your Administrator account should have a strong password that no one else knows (especially your kids). The limited user account(s) do not have to have passwords, but they can if you want.

Limited user accounts prevent people from making changes to the computer. Therefore your kids will NOT be able to install new software, change settings or delete system files.

Setting up administrator and limited user accounts is easy but they are quite a few steps. So, I have created a article that shows you how to create a limited user account in Windows XP and Vista. I'll also show you how to make an administrator account

Please make sure you have your Administrator and limited user accounts setup before reading the rest of this article.

How Your Computer Finds Websites

Before we start talking about what the Windows Host file is, lets look at how your computer finds websites.

1. You open your web browser (Internet Explorer or Firefox).

2. You type in an address like www.yahoo.com and click enter.

3. Your computer queries the Windows host file for the ip address of yahoo.com This ip address looks like 206.190.60.37.

4. Since your HOSTS file does not have an entry for yahoo.com your computer will query the DNS servers listed in your TCP/IP settings for the ip address of yahoo.com.

5. Your computer gets the ip address for yahoo.com and your browser displays the yahoo.com home page.

So, those 5 steps above are actually a simplistic explanation for how your computer finds and loads a website.

Block Websites With The Windows HOSTS File

Ok, since we now know that our computer looks for websites locally first (in the HOSTS file) we can edit the contents of the HOSTS file so that our PC NEVER goes on the internet to find websites. Sounds sorta confusing huh?

Basically it means every website we add to our hosts file will not load if we set the value of the website to 127.0.0.1 (which is your computer). Here is an example.

Your kids are going to myspace.com a lot and they are picking up all kinds of nasty viruses (yes, many viruses come from myspace.com pages). You need to put a stop to it. Here's how:

1. Login as Administrator

2. Click Start (or the little globe in the bottom left if on Vista)

3. Click Run (in Vista just type where it say's "start search")

4. Type in the word: Drivers. Click Enter.

5. Double Click the Etc folder.

6. Right Click the hosts file, then click properties.

7. Uncheck the read only checkmark if it is checked.

8. Click apply, then click OK.

9. Double Click the hosts file.

10. Windows will ask you to choose the program to open the file with. Click Notepad

11. You will see an extry that looks just like: 127.0.0.1 localhost

12. We are going to add our myspace.com entry below this entry. Type 127.0.0.1 myspace.com

13. Click Save

14. Now, try going to myspace.com....you can't. You computer thinks that myspace.com resides on your local pc, of course it doesn't, so the site never loads.

15. Done! Add any other sites or domains you'd like to block.

Click How Do I Block A Website for other tips on free internet filtering. I also offer St. Louis Computer Repair and Services.



tweet this!

The author of this article has chosen to make this article available with free reprint rights.
Click here to copy this article.

Reprint Rights

Log in to become a member of Matt Rizos's Fan Club!

Comments on this article: (2 total)


» left by Laura Trahan (39,036)
Laura Trahan
(117 days 7 hours ago.)

Reader Rating: 4 out of 5
Matt-As a parent, I found your article to be very useful! Thanks so much for the information!

Respond to this comment
» left by Anonymous (117 days 4 hours ago.)
Well thank you so much!  That means a lot to me!
Respond to this comment

Was this article helpful to you? Leave a Public Comment or Question:

This Article has been viewed 121 times.
Article added to SearchWarp.com on 7/10/2009 1:18:51 PM.
View other articles written by Matt Rizos (293)


If you found this article interesting, you may want to check out:

Disclaimer:  All information on this site is provided for informational purposes only! By no means is any information presented herein intended to substitute for the advice provided to you by any health care or other professional or organization.


Today's Most Popular
Hidden information stored on your computer about every url you ever visit

Why to Convert Word to PDF: 10 Advantages of PDF Files

Increase Your Internet Speed Fast

How To Make a Popup Window For You Website

How Do I Block A Website

Has Your Browser Been Hijacked?

How To Test T1 Lines

Downline Builder

Find People Free Using The Internet

Create Your Own Webcomic

Viewed from Cache. Load Time: 0.031.

Home  |  Page Two  |  FAQ's  |  Contact  |  Terms of Service  |  Article Submission Guidelines  |  Questions & Answers  |  Privacy  |  Mission / About
Copyright © 1999-2009 SearchWarp.com, All Rights Reserved - SearchWarp.com is an IcoLogic, Inc. Company