You should be able to do that in any competent firewall or in the HOSTS file or by using a HOSTS file manager. Or many browsers also have blocking tools.