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/08 3:46 PM
[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
Refresh
Your browser does not support JavaScript!
Categories
17
WHM [EU]
12
— WHM (For Resellers) [EU]
11
DNS - Nameservers [EU]
10
Backup/Restore [EU]
13
Databases [EU]
32
Domain Management [EU]
42
Email [EU]
12
FTP [EU]
6
Installing a Control Panel [EU]
8
Mail Filters & SPAM [EU]
10
Mobile [EU]
19
Others [EU]
15
Security [EU]
39
Softaculous [EU]
31
WordPress [EU]
92
cPanel [EU]
6
SSL (cPanel) [EU]
11
VPS [EU]
9
[htaccess] Configurations [EU]
2
PHP [EU]
4
CentOS [EU]
42
DirectAdmin [EU]
6
— Email
8
— Backup & restore
4
— FTP
8
— Databases
7
— Domain Management
7
— Mail filters & SPAM
© Getspace - EU
German
English
Spanish
Polish
Romanian
Russian