Back to website
Login
Home
Login
Register
Back to website
There was a problem loading the comments.
How to ban any IP Address via htaccess?
Support Portal
»
Knowledgebase
» Viewing Article
Print
2020/07/06 8:57 AM
Security [EU]
[htaccess] Configurations [EU]
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.
Share via
Did you find this article useful?
Related Articles
How to ban any IP Address via htaccess?
How to Redirect your website to any page or external domain?
How to restrict access to your site using .htaccess except your IP address?
Comments
Add Comment
Replying to
Cancel
CAPTCHA
Your browser does not support JavaScript!
Categories
17
WHM [EU]
12
— WHM (For Resellers) [EU]
12
DNS - Nameservers [EU]
19
Backup/Restore [EU]
17
Databases [EU]
35
Domain Management [EU]
57
Email [EU]
16
FTP [EU]
6
Installing a Control Panel [EU]
8
Mail Filters & SPAM [EU]
10
Mobile [EU]
19
Others [EU]
17
Security [EU]
46
Softaculous [EU]
34
WordPress [EU]
103
cPanel [EU]
6
SSL (cPanel) [EU]
11
VPS [EU]
9
[htaccess] Configurations [EU]
10
PHP [EU]
4
CentOS [EU]
60
DirectAdmin [EU]
6
— Email
12
— Backup & restore
4
— FTP
10
— Databases
8
— Domain Management
7
— Mail filters & SPAM
© Getspace - EN
English
German
Polish
Romanian
Russian