You can restrict the communication towards that URL IP by putting an ACL in the L3 interface.
However, I dont think you can achieve this in the L2 switch.
Getting Started
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: