Eqservers LLC
  • 0 Shopping Cart
  • Home
  • Store
    • Browse All
    • Netherlands, Haarlem
    • US, Manassas
    • US, Dallas
    • US, San Francisco
    • Germany, Frankfurt
    • Streaming Servers
    • WorldStream, Netherlands
    • Canada, Montreal
    • US, Los Angeles
    • Promotion
  • Announcements
  • Knowledgebase
  • Network Status
  • Contact Us
  • More
  • Account
    • Login
    • Register
    • Forgot Password?
  1. Portal Home
  2. Knowledgebase
  3. Security
  4. How to ban any IP Address via .htaccess?

  Categories

Accounting
2
Backup/Restore
4
Client Area
9
cPanel - Control Panel
18
Databases
11
DNS - Nameserver
6
Domain Management
10
Email
11
Files
5
FTP
22
Mail Filters & SPAM
8
Mobile
11
Networking
5
Others
4
Security
10
SiteWorx (Control Panel)
62
Softaculous
32
SSL Certificates
1
Two-Factor Authentication
1
Windows
11

  Categories

  Support

My Support Tickets
Announcements
Knowledgebase
Downloads
Network Status
Open Ticket

How to ban any IP Address via .htaccess? Print

  • 0

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 Password Protect a Directory This tutorial will teach how to password protect a directory. Password protecting a directory... How To Use The IP Deny Manager This tutorial will teach you how to use the IP Deny Manager to block access to your web site from... Using Hotlink Protection Hotlink Protection prevents other web sites from directly linking to certain files (typically... 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...
« Back

  Support

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

Copyright © 2025 Eqservers LLC. 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