Small businesses can't always afford these expensive tools to help regulate where users can and can't go on the internet, so there is a much easier method that should keep most users from certain sites (tech savvy users might be able to figure this out). You can simply edit the host file of all of the PC's on your network to block certain sites. It's a free method that should at least hinder most users from going where you don't want them to.
So how do you block sites using the Host File in Windows? It's actually very simple, all you have to do is edit the host file in notepad to include the websites you want blocked for the users and then save the file. This is why if you have a user who is somewhat savvy they might be able to figure out how you are blocking their free range of the internet and they can change the file.
So where is the Host File? You can find the Host File in the root directory.
C:\windows\system32\drivers\etc
It is simply called Hosts, you can edit it by double clicking, if prompted choose to open it in notepad or wordpad (you can choose any program you want but those are probably the easiest to use to edit it).
Once open you will most likely see this
# Copyright (c) 1993-2006 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 # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
This is a sample Host File that is probably what you will see if you open your Host File on your PC right now. If you want to block a website all you have to do is:
On a new line below the 127.0.0.1 type in the computers IP (you can get this by doing ipconfig at the command line)
After the IP hit TAB
Now type the website address (www.google.com)
Save the file
Test
Open your web browser and try to open Google, it should give you an error saying that it can't open the webpage. If you received the error message then you have succeeded, you can now add a line for each website you want to block, save the file and move on to the next PC.
This isn't an ideal solution for a big business with thousands of PC's on their network. This is a simple solution for a small business or home office, you could also use this to keep your kids off websites you don't want them visiting (kids usually figure out how to get around stuff like this though).
This is a simple free method for a network administrator to try to limit some of the unwanted internet traffic their users might be creating.
Published by TechTips
I am a senior systems engineer and enjoy writing articles about computers, technology and other electronics. View profile
- How to Host Your Own Internet Radio ShowHave you always wanted to be a radio DJ? Well now with a phone line and the Internet you can create and host your own radio show.
- Getting the Most from a Tablet PCIn the world of portable computing, Tablet PCs aren't as widely used as they could be. All types of people can get plenty of use out of a tablet PC besides the obvious business professionals.
- Choosing the Right Accommodations on Block Island, RIIf you have no experience with Block Island accommodations, then you may want to find out more about what is available. There are many factors to consider when choosing your Block Island accommodations.
- Want to Be a Web Host?A guide to understanding the Web host reselling business, and how to get started as a reseller.
- Thesis: Feasibility Study and Proposal: STRUCTURED CABLING PLAN for SONIC COMPUTER...This study, is all about computer networking
- How to Modify the Hosts File to Block Bad IPs (RIAA / MPAA Etc)
- How to Block Websites - for Free
- How to Host a Complete Website for Less Than $50 a Year
- How to Block Myspace from a Computer
- Three Effective Ways to Block 99.9% Of All Pop-Up Ads
- Lost a File in Your Hard Disk? Here's How to Find it Fast
- All the Shortcuts to Get Around in Windows Quickly and Easily





1 Comments
Post a CommentYou've such a whiz at describing how to handle tech info!