using ufw to block outgoing traffic to website

It will be:

sudo ufw deny out from any to _ipaddress_