If a specific IP address is doing something unwanted on your website (for example spam in forms or hacking attempts), you can block it with the IP Blocker tool in cPanel.

Log in to cPanel – see the article “1.2. Logging in to cPanel”.

1Add the IP address

In the “Security” section of cPanel, open “IP Blocker”. In the “IP Address or Domain” field, enter the IP address or range and click “Add”.

The allowed formats are shown below the field: a single address (203.0.113.5), a range (203.0.113.1-203.0.113.40) or CIDR (203.0.113.0/24).

Add the IP address

2Check and remove a block

Blocked addresses are shown under “Currently-Blocked IP Addresses”. If a block is no longer needed, delete it in the “Actions” column.

Check and remove a block

Good to know

  • IP Blocker blocks access to websites (HTTP). Email and other services are not blocked.
  • The rules are written to the website's .htaccess file – do not delete them when editing the file.
  • Attackers often change IP addresses, so blocking is only a temporary solution. Use bot protection (CAPTCHA) for forms, and for WordPress, follow the security recommendations (see the article “9.1. Security basics – how to protect your website and email”).
  • Do not add your own IP address to the list. If you yourself are blocked after failed login attempts, that is a different block (see the article “My website does not open – what to do”).

If you run into any difficulties, just write to us and we will help. support@area.lv

Was this answer helpful? 0 Users Found This Useful (0 Votes)