Step 5 – Once the file opens up, just scroll down and copy and paste these two lines at the bottom. Just make sure to change the websitename with the name of the file which you want to block. 127.0.0.1 www.websitename.com. 127.0.0.1 websitename.com. For example if you want to block facebook, just put the code as shown below. STEP 6
Host file containing domains related to facebook.com. This file doesn't block other Facebook products such as WhatsApp, Instagram etc. If you want to block all Facebook related services, use this list created by lightswitch05. Occasionally: link: coinminer.txt: 5,940: This host file was created when JavaScript miners were added to torrent sites I've 'blocked' facebook via DNS. How to allow it on one 2015-1-6 Cannot block website usings Hosts file in Windows 7 2011-4-15
Save the hosts file by pressing Ctrl + S hotkey or using File → Save. Now when you type gooogle.cn in your browser, it will be redirected to 127.0.0.1 and you will not be able to access it. This site or domain is now blocked for each and every program in Windows. 3. Blocking a Web Site in Windows 8/8.1/10
GitHub - anudeepND/blacklist: Curated and well-maintained Host file containing domains related to facebook.com. This file doesn't block other Facebook products such as WhatsApp, Instagram etc. If you want to block all Facebook related services, use this list created by lightswitch05. Occasionally: link: coinminer.txt: 5,940: This host file was created when JavaScript miners were added to torrent sites
How to Block Websites By Editing the HOSTS File in Windows
GitHub - anudeepND/blacklist: Curated and well-maintained Host file containing domains related to facebook.com. This file doesn't block other Facebook products such as WhatsApp, Instagram etc. If you want to block all Facebook related services, use this list created by lightswitch05. Occasionally: link: coinminer.txt: 5,940: This host file was created when JavaScript miners were added to torrent sites I've 'blocked' facebook via DNS. How to allow it on one 2015-1-6 Cannot block website usings Hosts file in Windows 7 2011-4-15