How to block website using SQUID server
You have to do some changes in squid.conf and here are the steps:
open this file /etc/squid3/squid.conf
add these lines:
acl bad_url dstdomain "/etc/squid3/bad-sites.acl" http_access deny bad_url
then go to /etc/squid3/bad-sites.acl and add domains with this format
.google.com .msn.com .app.facebook.com
You can also do by following changes in squid.conf
acl toblock dstdomain .facebook.com .google.com
http_access deny toblock