WireNine.com
  • 0 Shopping Cart
  • Home
  • Store
    • Browse All
    • Managed Hosting
    • SSD Web Hosting
    • Reseller Hosting
    • Virtual Private Servers
    • SSL Certificates
    • Register a New Domain
    • Transfer Domains to Us
  • Announcements
  • Knowledge base
  • Network Status
  • Affiliates
  • Contact Us
  • More
  • Account
    • Login
    • Register
    • Forgot Password?
  1. Portal Home
  2. Knowledge base
  3. Security
  4. How to ban any IP Address via .htaccess?

  Categories

24
Account and Billing
50
cPanel - Control Panel
33
Domains and DNS
49
Email
32
Presales
8
Reseller Hosting
10
Security
61
Softaculous
35
Technical
28
VPS Hosting
3
WHM
1
WHMCS
24
Wordpress

  Categories

  Tag Cloud

acronis backups cache cpanel cpu domains email epp code filezilla ftp howto memory memory_limit performance php plugins security settings speed ssl tls updates wordpress

  Support

  My Support Tickets   Announcements   Knowledge base   Downloads   Network Status   Open Ticket

How to ban any IP Address via .htaccess? Print

  • 16

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.


Was this answer helpful?

Related Articles

How to protect your website's images from an external website? External Website can use < img /> tag to display an image from your site somewhere else on... How to disable directory browsing using .htaccess? For security purposes, we recommend that you to disable directory browsing on your website so no... How to protect your .htaccess file? For security purpose we recommended you to prevent access to your .htaccess file from... How to restrict directory access by IP address? In order to secure your admin area from hackers, we recommended you to allow access only from... How to blacklist an IP Address to deny it access to your website? You can lock directory with a password by using cPanel "Password Protected Directories" option.1....
« Back

  Tag Cloud

acronis backups cache cpanel cpu domains email epp code filezilla ftp howto memory memory_limit performance php plugins security settings speed ssl tls updates wordpress

  Support

  My Support Tickets   Announcements   Knowledge base   Downloads   Network Status   Open Ticket
  • Contact Us
  • Terms of Service

Copyright © 2022 WireNine.com. All Rights Reserved.


Loading...
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
Українська

Generate Password

Please enter a number between 8 and 64 for the password length