Help Center
Block IP addresses in cPanel, protect your website
The traffic and IP addresses that enter your website are crucial for your security and performance. Identifying and analyzing this information allows you to determine the origin of visitors, detect potential attacks or malicious bots, and optimize your site's performance by blocking unwanted IPs.
Make sure to regularly monitor this traffic to keep your site secure and provide an optimal user experience.
Before you start with the instructions, it's important to understand the benefits of blocking unwanted IP addresses on your website. Blocking problematic IPs allows you to:
- Protect your website: By blocking unwanted IP addresses, you can prevent attempted attacks and keep your website secure against potential threats.
- Reduce unwanted traffic: By blocking problematic IPs, you can prevent unauthorized access, spam, and unwanted traffic, resulting in a better experience for legitimate visitors.
- Improve performance: By reducing unwanted access, you can free up server resources and improve the overall performance of your website.
- Save bandwidth: By blocking unwanted IPs, you prevent them from consuming your bandwidth, which can result in significant savings, especially if you have a bandwidth limit on your hosting plan.
Now that you understand the benefits, below are the instructions for blocking unwanted IP addresses in cPanel. Follow the steps below to ensure the integrity of your website and maintain a secure online environment.
- Access the cPanel control panel with your credentials.
- Scroll down to find the "Security" section.
- Click on "IP Blocker".
- On the next page, select the option "Add IP Address to Block".
- Enter the IP address you want to block in the corresponding field.
- Optionally, you can specify a reason for the block in the description field.
- Click "Add" to block the IP address.
- The blocked IP address will be displayed in the list and will be restricted from accessing your website.
Remember that you can unblock an IP address at any time if necessary. Keep your website secure by blocking unwanted IPs.
Related articles
- Error Handling Using PHP: A Comprehensive Approach to Different Statements
- Versions and extensions of PHP in cPanel
- Connect Visual Studio Code to cPanel using SSH
- Debug and optimize the log table in Moodle
- Resolving Website Display Issues with DNS over HTTPS (DoH)
- Interpreting a security scan of your files
- Resolve navigation issues by changing DNS settings in Windows and MacOS
- Configure a remote MySQL Connection
- How to point a website or domain to Wix?
- Connect your domain to Shopify
- What is a power pack?
- What is WP Accelerate and How to Configure It?