For the complete documentation index, see llms.txt. This page is also available as Markdown.

IP Access Rules

Allow or block specific IP addresses and CIDR ranges with Hostinger's IP Manager in hPanel, or manage website access rules directly through .htaccess.

Allow or block specific IPs or ranges. In hPanel this tool is called IP Manager.

Common uses:

  • Block abusive IPs

  • Restrict access to your office or team

  • Lock down development sites

Add a rule in hPanel

  1. Open your website dashboard.

  2. Go to AdvancedIP Manager.

  3. Use the Allow an IP or Block an IP form.

  4. Enter the IP or range, plus an optional note to remind you why the rule exists.

  5. Save.

IP formats

Format
Example
Matches

Single IP

203.0.113.5

One IP

CIDR range

203.0.113.0/24

203.0.113.0203.0.113.255

Allow vs. Block

Rule type
Effect

Allow

Only listed IPs can access. Everyone else is blocked.

Block

Listed IPs are blocked. Everyone else can access.

Warning: With an Allow rule, only listed IPs work — include your own IP, or you'll lock yourself out.

Edit or remove

Rules are listed in the panel. Click to edit, or Delete to remove.

Via .htaccess

Block a specific IP:

Allow only specific IPs (block everyone else):

Block a range:


Last updated: July 22, 2026

Last updated

Was this helpful?