If you want to stop someone from visiting your website, you can use the IP Blocker interface within cPanel which allows you to block access to your site for one or more IP addresses or fully qualified domain names (FQDNs). You can easily block an IP in cPanel by following these steps.
- Log into cPanel.
- Look for the “Security” section and click on “IP Blocker” icon.
- You can add a single IP, an IP range or a domain name to the block list, click the “Add” button to set the block.
- If you scroll down on the same page, you’ll see a list of all the blocked IPs, from here you can also delete an IP from the block list.