
Managing website security is crucial to protect your data and user experience. Malicious or unwanted traffic can compromise your website’s performance and integrity. A simple effective way to block IP in cPanel. Below, we provide a comprehensive step-by-step guide to help you accomplish this effortlessly.
Here are the important steps to block IP in cPanel
1. Logging into Your cPanel
To begin blocking IP addresses, you must first log in to your cPanel account. Follow these steps:
- Access Your Hosting Panel: Visit your hosting provider’s login page and enter your username and password.
- Secure Your Credentials: Always store your login details securely and avoid sharing them with unauthorized persons.

Why This Matters: Logging in correctly ensures you can access cPanel’s security tools, including the IP Blocker feature.
Once logged in, follow these steps to locate the IP Blocker tool:
- Use the Search Bar: In the cPanel dashboard, locate the search bar and type “IP Blocker.”
- Locate Under Security Section: Alternatively, scroll down to the Security section and find the IP Blocker option.

Why This Matters: This tool allows you to block traffic from specific IP addresses, preventing potential security threats.
3. Adding an IP Address or Range to Block
Now that you have accessed the IP Blocker tool, follow these steps to add an IP address:
- Identify the IP Address: Before blocking, confirm the IP address you want to restrict.
- Enter the IP in the Designated Field: Type the IP address or range into the field labeled “IP Address or Domain.”
- Click “Add”: Once entered, click the Add button to confirm.

Why This Matters: Blocking malicious or suspicious IPs helps protect your website from brute-force attacks and spam.
4. Confirming the Block
Once the IP is added, cPanel will display a confirmation message. You should:
- Ensure that the correct IP is blocked.
- Click Go Back to return to the main IP Blocker page.
Why This Matters: A confirmation message prevents errors, ensuring you do not mistakenly block legitimate users.
5. Reviewing and Managing Blocked IPs
To maintain security, periodically review your blocked IP list:
- Check Blocked IPs: Scroll down in the IP Blocker section to view the list of blocked IP addresses.
- Edit or Remove Entries: If needed, click the corresponding link to unblock an IP address.

Why This Matters: Regularly updating your block list ensures only harmful IPs remain restricted.
Final Thoughts
Blocking IP addresses in cPanel is a simple yet crucial measure for website security. By routinely monitoring your blocked IP list, you can effectively prevent unauthorized access and protect your website from malicious attacks.
For enhanced security, consider implementing additional measures such as firewalls and security plugins. These tools provide an extra layer of protection, ensuring your website remains safe from cyber threats.
For more hosting and security-related tutorials, check out our Bitbyhost Blog.