# How do I block an IP address using Cpanel?

If there is an IP address you want to block from your website, you can do so inside Cpanel. Here are the steps: Log into your Cpanel account. Under Site Management, go to Ip Deny Manager.…

Updated: 2020-08-01

Canonical: https://help.hostko.com/kb/how-do-i-block-an-ip-address-using-cpanel/

If there is an IP address you want to block from your website, you can do so inside Cpanel. Here are the steps:

1.  Log into your Cpanel account.
2.  Under **Site Management**, go to **Ip Deny Manager**.
3.  Under **Add an IP Deny** enter in the IP address you wish to block.
4.  Click **Add**.

You’re all set! Now to remove the IP banning, all you need to do is remove the string it created in your .htaccess file or select it from the drop-down menu on the **Ip Deny Manager** page.

The IP address you added to the ban list will not be able to access your website ever again!