We help IT Professionals succeed at work.

Customised host file to block Facebook and all it's sub domains

metamatic
metamatic asked
on
1,256 Views
Last Modified: 2013-11-22
There seem to be various customised host files available for download that will block advertising/porn sites

Does anybody know where I can get one that will block facebook and all its sub domains? I've blocked facebook.com, m.facebook.com, blog.facebook.com but i keep finding more. It seems that every country has it's own sub domain (ie fr.fr.facebook.com)
Comment
Watch Question

Instead of a host file most firewalls will allow you to block domains from within.. is this something you only want for a few users or all users? What type of firewall are you using?
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Commented:
1.1.1.1        *.facebook.com

Commented:
actually scrap that wildcards dont work.

just list all websites e.g

1.1.1.1             fr.facebook.com
1.1.1.2             www.facebook.com
1.1.1.3              gb.facebook.com
CERTIFIED EXPERT

Commented:
i don't know whether you are using any UTM/Firewall or not...
in a firewall you can enable httpstransparentproxy and can can block the facebook.all this sites are running on HTTPS not on HTTP
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.