How to block an IP address or domain from accessing your website via cPanel
If you've found a malicious IP address trying to access your website, or just want to block a specific IP address, IP range, or even a domain name from accessing your website, this can be easily be blocked via the IP Blocker feature within your cPanel hosting.
Adding an IP address, range or domain name to the cPanel IP Blocker:
Firstly, log into your cPanel account. If you are unsure on how to do this, please view the following help article - 'How to log into cPanel', Then once logged in - under the Security heading, click on IP Blocker.
On the IP Blocker page, you will now want to enter the IP address, IP Range or domain name you wish to block in to the IP Address or Domain box.
In this example we will enter the IP: 192.168.0.1 however cPanel provides a few examples beneath the IP Address or Domain box as to what IP address or IP range formats are accepted.
You can also add a fully qualified domain name instead in to the IP Address or Domain box (for example: google.com ). cPanel will then look up this domain and block the IP address that the domain resolves to.
Once you have entered your IP address, range or domain name click on the Add button to block this.
cPanel will then confirm that the IP address, range, or domain you have entered, is now blocked and no longer able to view your website.
Removing an IP address, range or domain from the cPanel IP Blocker:
If you no longer need cPanel to block the IP address, range or domain you have added, this can be removed just as easily.
Firstly you will want to go back to the IP Blocker page on your cPanel, found under the Security heading.
At the bottom of the IP Blocker page, you will then see the IP address or Range you have previously added. In this example we have the IP address: 192.168.0.1 currently blocked
Click on the Delete button to the right of the IP address or range that you would like to remove.
You will then be asked to confirm that you are sure you wish to delete your chosen IP.
Click on Remove IP to continue.
cPanel will then confirm that the IP address has been removed, and is now able to view your website.
If you find your cPanel disk space filling up, or an email address has hit its disk space quota, cPanel has a helpful built in Email Disk Usage tool. This will provide you with a simple to understand breakdown of how much disk space each folder for a particular email...
Although WHM will normally automatically keep itself up to date, you may want to manually check for server updates / push through an update that is pending, or it may be that you have automatic updates switched off on your cPanel server. In this guide we will show you how...
You may sometimes need to manually adjust the PHP settings on your cPanel server – for example if a site is hitting the PHP memory, or file size upload limit. WHM allows you to quickly change the settings of any PHP version installed on the server when needed, using the...