Frequently Asked Question

Blocking an IP from your Website
Last Updated 11 months ago

The ability to deny an IP address access to your site allows webmasters greater control over the security of their site. IP blocking could be useful for:

  • Blocking IPs where past security attacks have originated from
  • Banning unwanted visitors
  • Blocking email harvesters


Once blocked, visitors (or robots) originating from a blocked IP will not be sent any pages, images, or files from your account.

To block IP addresses by adding the following line to the .htaccess files located within your home directory:

deny from IPADDRESS

replacing IPADDRESS with the actual IP address you specified in the "IP Address or Domain" field. Aa an example entyr, we block the IP 255.255.255.255 by adding the line to the .htaccess file:

deny from 255.255.255.255

Please Wait!

Please wait... it will take a second!