How to block a website

There are many reasons why people search for how to block a website. One of the most common is to prevent children from accessing sites with inappropriate content. For employers, blocking websites is the easiest way to increase productivity. Let us show you how to block access to a website simply and reliably.

The hosts file method and blocking website in Internet Explorer are free but can be easily bypassed. The best way is to use special software such as HT Employee Monitor for business or HT Parental Controls for home that let you block websites more effectively and have many other features.


How to block a website using software


HT Employee Monitor and HT Parental Controls is blocking software that lets you block any website reliably and easily in all popular browsers.

Learn about HT Parental Controls or Learn about HT Employee Monitor


  1. Download and install the software on your computer(s).
    Download HT Parental Controls
    Download HT Employee Monitor
  2. Click Website Blocking.
  3. Click the Add button.
  4. In the box that appears, type the website address or keyword you want to block, for example, youtube.com
  5. Click OK.

how to block website


Read how to block YouTube


HT Employee Monitor and HT Parental Controls are easy to use and effective software that allow you to restrict user activity and internet usage. With the software, you can:



The software is compatible with Windows OS from Windows 7 to Windows 10


Instead of blocking websites, you can limit time on them


  1. Click Website Limiting.
  2. Add websites you want to limit.
  3. Specify the time user can spend on these sites.

limit website


Block Website Free Trial


How to block a website using the Hosts file


The location of the hosts file depends on your operation system. For Windows 10, 8, Windows 7 and XP, it is C:\WINDOWS\system32\drivers\etc\hosts

For Windows 2000, it is C:\WINNT\system32\drivers\etc\hosts

  1. Open the hosts file using Notepad or other plain text editor.
  2. Find the line 127.0.0.1 localhost.
  3. To block a website, add its URL under 127.0.0.1 localhost.
    For example, to block youtube, add 127.0.0.1 youtube.com under the line.
  4. Save and close the Hosts file.
  5. Reboot your computer to apply the changes.

block youtube with the hosts file


Note! Make a backup of the hosts file and put it somewhere safe.


How to block a website on Internet Explorer


  1. Open Internet Explorer and click on Tools.
  2. Click Internet Options.
  3. Click the Content tab and then click the Enable button.
  4. Click on the Approved Sites tab.
  5. Type the website address you want to block in the box, for example, www.youtube.com.
  6. Click Never and then OK.
  7. In the window that appears, type and confirm your new password.
  8. Click on the General tab and make sure to select Users can see websites that have no ratings.

How to block a website in spite of proxy servers


Unfortunately, the hosts file method and blocking a website in Internet Explorer are far from ideal. They can be easily bypassed. For example, web-based proxy servers allow getting access to the blocked website. These methods are also not universal and may not be appropriate to your computer configuration or to your browser. How to block a website in spite of proxy servers. The best way to block a website is to use professional blocking software.


Read about HT Parental Controls or Read about HT Employee Monitor


HT Employee Monitor and HT Parental Controls help you reliably block or limit any website in a few clicks saving you time and effort.

Block Website Buy Now!
Block Website Download