Block Websites for PC using Host File

One of the backbones of the Internet is the DNS system that translates easily to remember (and type) names such as into equivalent IP addresses ( While you use DNS servers to get to websites, your computer also has a HOSTS file that can store this information locally. This can be used to disable access to unwanted websites.
  • Browse C:\WINDOWS\system32\drivers\etc 
  • Find the file named "HOSTS"
  • Right-click and open with notepad
  • Under " localhost" Add
  • Now close the host's file and click Save
  • Reboot your computer for the changes to take effect and you'll find that all those websites are now blocked. 
Check the video if you have trouble saving the file.

    Video Tutorial

    We hope this helps. If any suggestions or doubts you can add a comment and we will reply as soon as possible.

    No comments:

    Post a Comment