I would like to block certain websites on my computer whats a good and hopefully free way to block websites?
One of the easiest and free way to block access to a website is modifying the Windows “Host” file. It’s not very hard to do and will only take a few minutes. This will work on Windows XP, Windows Vista and older Windows OS
.
When you use the host file to block a website it will work with all browsers and all User Accounts.
*Vista users must disable UAC and have Administrative rights before modifying the hosts file.
Click Start > Computer > Local Disk (C:) > Windows > System 32 > drivers > etc.
Now open the “hosts” file with Notepad (you can do that by right clicking on the file and choose “Open” then select Notepad)
This is where you can add websites that you want to block. Under the section “127.0.0.1 Localhost” is where you type in the website to block. All you have to do is type “127.0.0.1 url to block” in the next line after all the default local hosts text.
Here’s a quick example lets say I want to block “Myspace” from being accessed from this computer all I would do is add “127.0.0.1 www.myspace.com”. Its also a good idea to add another line without the “www” but this step may not be necessary, test and try.
When you are finished adding all the site you want to block be sure to save it. Now try to accessing the site you are trying to block. You should see a “Unable to connect” web page. If it didn’t work try restarting the computer.
You can add as many sites to block as you like and you can also block certain pages from being accessed as well.



{ 2 trackbacks }
{ 11 comments… read them below or add one }
Hi! I’m trying to block a site and have followed the above instructions yet I get an error message when I go to Save in notepad. This is the message I get:
Cannot create the C:\WINDOWS\system32\drivers\etc\hosts file
What do I do??
Someone pls let me know: icon_boiii@yahoo.ca
Thanx!!
I want to block a website using our residental gateway so no one on the home network can access. I want to be able to do this by signing into the router from my desktop, accessing with password, and daughter never being the wiser. Any suggestions?
Some routers will have a feature which will allow you to block sites, check your router manual to see if it has this feature. Another way to block sites with the router is to switch you default DNS with OpenDNS http://www.opendns.com/. There are lots instructions on how to install this on many different types of router. After you have successfully installed OpenDNS on your router you can log into the Administration panel and enter websites you wish to block. This will block the website on your whole network.
I want to block certain sites for certain users. I have 6 users on my computer and I only want to block 2 of them from certain online content. What can I do? Thanks in advance…
I want to block certain sites for certain users. I have 6 users on my computer and I only want to block 1 of them from certain online content. What can I do?
how do we unblock it?
I just want to comment on the assertion that “Vista users must disable UAC and have Administrative rights before modifying the hosts file.” That’s only half true. The task can be accomplished just as easily by running Notepad or whatever text editor you want to use with elevated privileges. In terms of best practices, you probably shouldn’t be telling people to disable UAC. At the very least, you should tell them to re-enable it after disabling it. I know UAC isn’t popular, but it does serve a purpose.
why is this step does’nt block some of the websites.. like youporn nd other pornographic website?
Are the websites blocked by this method can’t be opened through online proxy servers????
How to block tagged site in my computer?
how to block the pornographic websites??