Link to home
Start Free TrialLog in
Avatar of metamatic
metamatic

asked on

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

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)
Avatar of DMTechGrooup
DMTechGrooup
Flag of United States of America image

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?
ASKER CERTIFIED SOLUTION
Avatar of mccracky
mccracky
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
1.1.1.1        *.facebook.com
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
Avatar of DIPRAJ
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