
The last two lines of your hosts file should read "# 127.0.0.1 localhost" and "# ::1 localhost".Ģa. Double-click the file named "hosts" and select Notepad from the list of programs to open the file. Sign in to your PC using an administrator account and go to C:\Windows\System32\drivers\etc\Ģ. Make sure you have administrator access on your computer.

We checked this method with both Windows 7 and Windows 8.ġ. This can be used to disable access to unwanted websites. While you use DNS servers to get to websites, your computer also has something called a HOSTS file which can have this information stored locally. One of the backbones of the Internet is the DNS system that translates easy to remember (and type) names such as into equivalent IP addresses (8.8.8.8).
BLOCK YOUTUBE FOR MAC HOW TO
How to Block Any Website On Windows Computers This method for blocking websites is not too hard to configure and will work across browsers. If you want to control access to websites on just one machine, then you can set up block at the operating system level. You can choose to block websites only on specific browsers, the entire operating system, or indeed your network router. There are different ways to go about blocking websites. In such cases, it might be best to block certain websites.

While you may well be more than capable of avoiding these websites, but that doesn't stand true for every one who uses your device. Some websites could be spreading viruses, contain explicit content or even be trying to steal your personal data. There are several reasons why you might want to block certain websites on your computer.
