How to Use Your Computer’s Hosts File to Block Tons of

Open the hosts file using the notepad. Now let us assume that you want to block the sites Facebook and Youtube on your computer. For this all you have to do is add the following lines to your hosts file: 127.0.0.1 facebook.com 127.0.0.1 www.facebook.com 127.0.0.1 youtube.com 127.0.0.1 www.youtube.com. Each entry should be placed on an Mar 22, 2016 · Adding files to the hosts file is very simple. The hosts file uses the format: IP Address exampledomain.com. Blocking a website in Windows is as simple as typing the following into the bottom of the hosts file: 127.0.0.1 www.exampledomain.com. So, if I wanted to block a website like www.nytimes.com, I could just add the following line: Jul 31, 2012 · for some reason i can't block google any more from the hosts file. fw months ago searched for all the entries necessary to block google, twitter, facebook and i still block direct access to twitter and facebook but somehow google gets by. i probably have 50 entries to try to block google and its adsense and 25 or so for both facebook and twitter. would be nice if someone knew how to drop them Mar 22, 2013 · 5. Readymade HOSTS file for Blocking Malicious Sites. Some clever people have prepared a hosts file which blocks thousands of sites linked to parasites, malware, adware and spywares. This is a very useful way to stay safe on the internet, as with such a hosts file, all known malicious sites will be blocked. Take Note! This version of the Hosts file generator, and tests, are for Python 3.5+ only. With the exception of issues and PRs regarding changes to hosts/data/StevenBlack/hosts, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. May 10, 2019 · The hosts file on my computer blocks unwanted sites. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

Sep 19, 2019 · Suppose, you want to block Facebook and YouTube, then here is how you need to type it: Note: Before editing the host’s file it is very important to make a backup of the file. To block Facebook, type this: 127.0.0.1 www.facebook.com; To block YouTube, type this: 127.0.0.1 www.youtube.com

Feb 14, 2012 Please tell me how to unblock site from Hosts File?

Nov 21, 2010 · Block Facebook system-wide using the Hosts file By editing the hosts file, you will block Facebook (or other specified websites) from all applications on that computer. This is actually the method I use when I’m trying to block a website because it’s so easily reversible and it’s system-wide.

I've 'blocked' facebook via DNS. How to allow it on one Jan 06, 2015