All Collections
Website
CDN
Hostinger CDN: How to Block IPs
Hostinger CDN: How to Block IPs

Blocking an IP address, and removing an IP block

Updated over a week ago

Preventing some specific IP addresses or a range of IP addresses from accessing your website is commonly used as a security measure to protect your site from unauthorized access, malicious activities, or unwanted traffic.

Block an IP Address

In hPanel Websites, click on Manage next to the website in question. Then, on the sidebar search for CDN and open its settings:

CDN settings in the website's hosting dashboard

Click on the arrow > to access the CDN settings of the preferred website:

Access the CDN settings of the preferred website

Now, open the section Traffic blocking, click on Block IP address, or Add IP block, select the IPs, or IP ranges you want to block, and click on Block to confirm:

Blocking the selected IPs from accessing your website

And that's it!

Remove the IP Block

To remove an IP block, in hPanel Websites, click on Manage next to the website in question. Then, on the sidebar search for CDN and open its settings:

CDN settings in the website's hosting dashboard

Click on the arrow > to access the CDN settings of the preferred website:

Access the CDN settings of the preferred website

Now, open the section Traffic blocking, click on the trash bin icon, and then click on Delete to confirm:

Removing an IP block

Alternatively, you can also block countries 💡

Did this answer your question?