Jan 22, 2014 · Sometimes, the computer admin can edit the hosts file to block Facebook. He/she adds the website domain name to the block list in host file. In that case, you can get access to Facebook by the IP address instead of the domain address. Putting the IP address in your browser directly, will bypass the barrier from the host file.

Mar 30, 2011 · Pre-set hosts file. For those that do not want to go through and add a ton of unwanted adware sites and other malicious sites to the hosts file on every PC in an organization, this file can be Using the Hosts file to block websites by domain is preferable to trying to use rules in Windows Defender Firewall to block IP addresses since websites will often use more than one IP address. This tutorial will show you how to block websites for all users on the computer using the Hosts file in Windows 7 , Windows 8 , and Windows 10 . Hosts file. The Hosts file is an extension-less system file that is used to map host names or website domain names to the IP addresses. You do not require a program to run the Hosts file. It boots with the computer, and is already working for you. Hosts file overrides the DNS settings of the websites mentioned in it on that computer. In Facebook’s case, your line in your hosts file would look something like this: 127.0.0.1 31.13.90.36 If you’re still having trouble, you might have to switch browsers. May 10, 2019 · I need to block a few websites on my home computer. Did a quick search and found out I had to work with the hosts files. So opened up Notepad, ran it as Admin and then opened Hosts and at the bottom added ' 127.0.0.1 facebook.com' then saved the file. But facebook is still opening when I go to the page. Mar 28, 2012 · Edit the Windows 7 Hosts File to Block Websites How to redirect a website through host file - Duration: 6:41. Sam Dahal 10,906 views. 6:41. How to Block facebook in windows7 all browsers

Sep 02, 2017 · Blocking various websites: Besides Facebook and Twitter, you can block other websites too. What is a Hosts file? The hosts file is used to map hostnames to IP addresses. You can locate the file at : C:\Windows\System32\drivers\etc\hosts on your Windows OS. Block Facebook and Twitter. Step 1: To access the hosts file

Mar 22, 2013 · This would open your hosts file in Windows’ Notepad. Start editing at the end of the file : Press Enter to start a new line. Type 127.0.0.1.Press TAB key once. Then type the name of the site you want to block, in this case, gooogle.cn.

Feb 14, 2012 · Continue to add the websites you wish to block, each prefaced with 127.0.0.1 and a space. 6. Click File, Save to commit to your changes. Dismiss any warnings from antimalware software, which may

Dec 15, 2019 · Hosts File Editor features a clean, easy to use interface. To begin using the program, populate the table with IP Addresses, Host Names, and a comment on the websites you want to manage.