Follow the steps below to block any website, IP or ad server in your Windows 8 PC. Steps to configure hosts file to block website/ip. 1. Go to the following directory C:\windows\system32\drivers\etc. You will find Windows Hosts file. 2. Right-click on it and Open with any text editor like Notepad, Notepad ++ etc. The file will look like this: 3.

Open your router’s web interface. Most routers can be accessed by entering “” in your … Jul 26, 2010 · Some fears Facebook will reduce human productivity and may lead to addictive behavior. If you are searching for the most simple ways to block Facebook, this post will absolutely helps you. In this post, I will show you simple and quickest ways to block Facebook by using Hosts file. Enjoy! Simple Steps to Block Facebook. 1. Jun 19, 2020 · The host file lives on today. How Does The Hosts File Work? The hosts file allows the computer to look up other computer names, like localhost , or domain names, like and the IP number for them is right beside the name in the file. Mar 21, 2018 · ##### # To Completely Block Facebook # Add these entries below to your hosts file # # Your hosts file Location: # Linux, Unix and Mac OS X -> /etc/hosts # Windows XP, Vista and Windows 7 -> C Apr 09, 2018 · Now there is the whole host’s file. You need to edit this file for block distracting sites. In the host’s file, there is an IP address for your local computer which is “”. Simply write this IP address and press the space-bar and write domain name of the site which you want to block. If you want to block Facebook then write it Lines started with a hash character (#) are comments. Windows ignores blank in the hosts file. To Block Websites using Hosts File in Windows 10, Open the Start menu, and go to Windows Accessories. Right-click the Notepad app and select More - Run as Administrator. In Notepad, click the File menu - Open, or press the Ctrl + O keys.

Windows 10: Block ANY Website by Editing The Hosts File

Block Websites using Hosts File in Windows | Tutorials

Because of this to effectively block the site, you must also block all hosts. This would usually mean:" check the link for more details. Also i you trying to block multiple sites, its better to have a proper software like proxy server or firewalls which can block access to particular sites.

How To Block Websites on Windows 10 with Host File Now, Right click and copy the hosts file and paste it somewhere else on your computer. Lets copy and paste it on desktop. Step 3 – Go to desktop and right click and click on open with.. Step 4 – Now, choose notepad as the option to open the file with notepad.. Step 5 – Once the file opens up, just scroll down and copy and paste these two lines at the bottom. How to Block Websites By Editing the HOSTS File in Windows