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
Open your website dashboard.
Go to Advanced → IP Manager.
Use the Allow an IP or Block an IP form.
Enter the IP or range, plus an optional note to remind you why the rule exists.
Save.
IP formats
Single IP
203.0.113.5
One IP
CIDR range
203.0.113.0/24
203.0.113.0–203.0.113.255
Allow vs. Block
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?