Skip to the page
Locked out and security
Locked out and security

Block an IP address with .htaccess

1 min read

If you want to block an IP Address, you can add the below lines to your htaccess file.

order allow, deny
deny from IP-ADDRESS
allow from all

Replace IP-ADDRESS with the IP you want to block.

Did this fix it?

Still not sorted? Let a Geek sort it out.
Lodge a ticket about this guide or call 1300 722 504, 9am to 6pm, Mon to Fri, AEST.
Tell us what you tried and any error message. Never send a password in a ticket.

Still stuck? Speak to a Geek

1300 722 504

9am to 6pm, Mon to Fri, AEST.

Lodge a ticket any time.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.