You can block a specific IP address from accessing your website using the IP Blocker tool in cPanel. This action is available on Hostek plans that include the IP Blocker feature.
Important: This feature is only available on specific Hostek plans. If you do not see the IP Blocker icon in your cPanel dashboard, contact Hostek support to verify if your plan includes this feature.
Before you begin
You will need:
A cPanel account with the appropriate permissions.
The specific IP address you wish to block.
Block an IP address
Log in to your cPanel account.
Locate the Security section and select IP Blocker.
Enter the IP address you want to block in the IP Address field.
(Optional) Enter a description in the Description field to help you identify why the IP was blocked.
Click Add.
Confirm the result
The IP address will appear in the list of blocked IPs.
Any future attempts from that specific IP address to access your website will be met with a "403 Forbidden" error.
If the IP address is still able to access the site
If the IP address is still able to access your website after being added to the list, it may be due to one of the following reasons:
Proxy or VPN: The user may be using a proxy service or a VPN, which masks their true IP address.
CDN Services: If you use a service like Cloudflare, the IP address being blocked might be a Cloudflare edge server rather than the user's actual IP.
Cached Content: The user may still see a cached version of your site from their browser.
Limitations
This tool blocks the specific IP address provided. It does not block entire ranges or geographic regions unless you provide the specific IP addresses for those ranges.
This action does not block the IP from accessing other websites or services on the internet; it only restricts access to the websites hosted on your cPanel account.
