what is cpanel
This tutorial will guide you on how to use the IP Deny Manager in cPanel. For the purpose of this guide, we'll presume that you're currently in cPanel hosting and therefore are viewing the primary display.
Let us begin to learn how to use the IP Deny Manager in cPanel. This guide will use the IP Deny Manager to block access to your website from a specific IP address. Scroll down the cPanel hosting screen and select the IP Deny Manager under the Security category of your cPanel hosting screen. Once you have selected IP Deny Manager a new display will appear the IP Deny Manager page.
You may begin by entering the IP address you wish to block within the IP Address or Domain box and then select the Add button.
The page will refresh to a notification that the IP address that was inputted will not be able to access your website.
Let's go back to the IP Deny Manager page, by selecting Go Back. You will notice that under the Current IP addresses being Blocked section, there is a list of the blocked IP addresses.
If you wish to remove the IP address from your blocked list, select the circle with X inside under the Remove column following the IP address listed. Your screen will automatically refresh to a confirmation page where you will need to confirm the removal of the IP address blocked. Select, yes. The IP address will now be able to access your site and has been removed from the blocked list.
Select the Home icon on the top left of the screen to return to the main page of the cPanel hosting screen. This is the end of the tutorial. You now know how to block IP addresses from visiting your website by using the IP Deny Manager in cPanel.
If you need any further assistance on how to use the IP Deny Manager in cPanel,
please feel free to ask them on this thread!
How to redirect a URL in cpanel