How Do I Block A Website
Computers & Technology → Internet
- Author Elias Rizos
- Published August 22, 2009
- Word count 591
Let's Take Care Of The Requirements
Setting up your computer to block websites is easy, unfortunately 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.
-
You open your web browser (Internet Explorer or Firefox).
-
You type in an address like www.yahoo.com and click enter.
-
Your computer queries the Windows host file for the ip address of yahoo.com This ip address looks like 206.190.60.37.
-
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.
-
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:
-
Login as Administrator
-
Click Start (or the little globe in the bottom left if on Vista)
-
Click Run (in Vista just type where it say's "start search")
-
Type in the word: Drivers. Click Enter.
-
Double Click the Etc folder.
-
Right Click the hosts file, then click properties.
-
Uncheck the read only checkmark if it is checked.
-
Click apply, then click OK.
-
Double Click the hosts file.
-
Windows will ask you to choose the program to open the file with. Click Notepad
-
You will see an extry that looks just like: 127.0.0.1 localhost
-
We are going to add our myspace.com entry below this entry. Type 127.0.0.1 myspace.com
-
Click Save
-
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.
-
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.
Article source: https://articlebiz.comRate article
Article comments
There are no posted comments.
Related articles
- What is CCTLD?
- Gulf Website Hub Reveals Fresh Digital Solutions to Enhance Dubai's Expanding Market.
- Embrace Multi Graphics Inc. Expands Services to Meet Growing Demand in Digital Marketing, Design, and Printing
- Website Development Trends in 2025
- Viewing Instagram Stories Without an Account: Imginn Viewer Insights
- How to Find, Use, and Manage BitLocker Recovery Keys on Windows 10/11
- Building a Professional Website on a Budget: Using Free Tools like WordPress and AI
- Ava Labs CEO On Why You Shouldn't Ignore Red Flags In The Industry
- Cyberbullying: Empowering Families to Safeguard Their Kids
- 10 Common Online Scams to Avoid: Protecting Your Identity and Finances
- Spring Break and Staying Secure Online: An Internet Safety Guide for College Students
- Unveiling the Future: The 10 Revolutionary Trends Shaping Small E-Commerce Businesses in 2024
- Unlocking Online Content with YouTube Video Downloaders
- Unleashing the Potential of Online Earning: A Comprehensive Guide
- Navigating Success in the Digital Realm: Unveiling the Power of Digital Marketing
- How AI Will Affect the Future of Search
- Maximizing Business Efficiency: The Strategic Role of Business Intelligence with DataInseyets
- Cyber Resilience in the Age of AI
- Harnessing the Power of AI & Blockchain for Data Security and Transparency
- AI Ignites 6G Advancements in Wireless Technology
- How AI is Revolutionizing Content Writing
- What You Need to Know About Writing Prompts
- The Remarkable Ways to Use the AI-Powered Chatbot
- Where Will AI Take Us in 2024?
- AI Written Content Creation Trends for 2024
- Will AI-Linked Cryptocurrency Sector Thrive in 2024?
- Is AI Regulation vs AI Deregulation a Real Concern?
- Prompt Engineering: A Beginner's Guide to Prompt Engineering
- Balancing Innovation and Regulation of AI in the Future
- Crafting AI Short-Form Content: The Future of Digital Marketing