Can't block a subdomain in /etc/hosts

1 reply [Última entrada]
Joined: 06/15/2014

Hello guys,

I have some problems blocking a facebook subdomain in /etc/hosts. I am able to block but I cannot block a subdomain called

I'm typing everything as I should but it just doesn't work, it's very weird.

Did anyone met with this problem, with facebook subdomains and knows how to solve it ?

In case you ask yoursels why I'm trying to do that, the reason is that I want to cure a friend from this disease called facebook.

Thanks in advance.

Best regards,

Joined: 06/02/2012

I think /etc/hosts.deny and /etc/hosts.allow are files you have to edit
and you would have to add somthing like

to block all the subdomains

You could read the man page of hosts.deny using

man hosts.deny