I know how to use etc/hosts to block something such as youtube.com

However, I when I try to use etc/hosts to block something such as: youtube.com/user/TEDtalksDirector

nothing seems to happen. Is it possible to block a specific channel on youtube with etc/hosts instead of the entire site, and if so how is it done?

Here is my etc/hosts file (youtube user is modified):

# Host Database
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.
##       localhost broadcasthost
::1             localhost
fe80::1%lo0     localhost
#       www.youtube.com/user/TEDtalksDirector

1 Answer 1


No. You need a web proxy or other filter product that snoops on and processes the URL instead of just the main host.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .