Two Easy Ways To Block Websites

The decision to block websites is an important one if you have children. There are numerous ways to restrict access to the Internet or specific websites. Some include modifying the router, changing your DNS settings or applying other filters. But we’re going to show you a couple of things to try before going to those great lengths. No matter what you do, however, the user account you want to block should be a  Standard User account, not an Administrator account. You would not want to give the user the ability to revert your changes.

Block Websites Using The Hosts File

Using the hosts file is a quick way to block access to websites no matter what browser is used. To add a site to the hosts file, you will need to open My Computer, then the C drive>Windows>System32>and then the etc folder. Double-click the hosts file. When asked what program you want to open, select Wordpad. You will see something like the following:    Localhost

In order to block websites such as Facebook, you would add the following below that:   Localhost

Save and close the file. Try going to the website to make sure it has been blocked. If it has not, you may need to remove to tweak the address. This technique works great, as your browser will consult this file before trying to get out on the Internet. If it sees that the website points to, then it will loopback to your computer and generate a “Page Cannot Be Displayed” error. You can have as many entries in here as you want. The limitations to this technique is that there are a lot of websites on the Internet, and if you have young children you will want to block most of them.

Allow Websites Rather Than Block Them

The second technique is using the Content Advisor in Internet Explorer. Once this is enabled, you can allow or dis-allow any website you want. So if you have young children, you will want to allow websites as they need them and have all others blocked. To enable Content Adviser, open IE and go to Tools>Internet Options>and then the Content tab. Once you enable the advisor, you can click to allow whatever website you feel are appropriate for that user. You will also need to supply a password, so these changes cannot be undone by the user.

block websites using content advisor

How you block websites will depend on who uses the computer and how technical they are. The best way to restrict access is through altering the DNS provider and settings on the router.


  1. Faith
  2. Alicia
      • John
        • John
          • Dave
          • john
  3. Lester
    • Dave
  4. Rob

Leave questions or comments here!

%d bloggers like this: