Home
Store
Browse All
Web Hosting
SSL Certificates
E-mail Services
Website Backup
Website Security
SEO Tools
VPN
Site & Server Monitoring
Site Builder
Register a New Domain
Transfer Domains to Us
Knowledgebase
Contact Us
More
Login
0
Shopping Cart
How to ban any IP Address via .htaccess?
Portal Home
Knowledgebase
How to ban any IP Address via .htaccess?
19/06/2019 4:50 PM
Security
If someone is trying to hack your website or you want to block their IP Address, you can add this line to your .htaccess file.
order allow, deny deny from IP-ADDRESS allow from all
Replace "
IP-ADDRESS
" with the IP Address you want to block.
Print
Share via
×
Close
Loading...
Choose language
العربية
Azerbaijani
Català
中文
Hrvatski
Čeština
Dansk
Nederlands
English
Estonian
Persian
Français
Deutsch
עברית
Magyar
Italiano
Macedonian
Norwegian
Português
Português
Română
Русский
Español
Svenska
Türkçe
Українська
Choose Currency
£ GBP
$ USD
€ EUR
Apply Now
Generate Password
×
Please enter a number between 8 and 64 for the password length
Password Length
Generated Password
Generate new password
Copy