You can block IP addresses and ranges via your Control Panel's Protection section. You can find details at the Block by IP section.
To manually block a specific IP address from accessing your site, you should add the following line to your .htaccess file:
deny from xxx.xxx.xxx.xxx
xxx.xxx.xxx.xxx is the IP address that you want to block. If the .htaccess file does not exist, you can simply create it.
For example, if you want to block 1.2.3.4, the line in your .htaccess file should be:
deny from 1.2.3.4
To prevent a range of IP addresses from a given network (123.234.0.0) from reaching your site, you can do that in the following way:
deny from 123.234.
This way all addresses that start with 123.234 will be blocked.
You can add as many such rules as you want. You should note that if your .htaccess gets large, it may slow-down the loading of your site, as the file is being processed on each file request.
All prices are in USD. No setup fees. Minimum contract period for shared hosting services - 12 months. Full prepayment for the contract period. 100-day money-back guarantee. No automatic renewal. Fees for domain registrations and SSL certificates cannot be refunded in case of an early contract termination.
ICDSoft 2001-2024 © All rights reserved
Terms of Use
|
Legal notice
|
Privacy
|
Reseller terms