MO PRINTS & STATIONERIES
  • 0 Shopping Cart
  • Home
  • Store
    • Browse All
    • Website Hostings
    • Email Hostings
    • Register a New Domain
    • Transfer Domains to Us
  • Announcements
  • Knowledgebase
  • Network Status
  • Affiliates
  • Contact Us
  • More
  • Account
    • Login
    • Register
    • Forgot Password?
  1. Portal Home
  2. Knowledgebase
  3. SECURITY
  4. How to ban any IP address

  Categories

BACKUP AND RESTORE
4
CPANEL - CONTRL PANEL
24
Domains
10
Emails
5
FIREWALL
1
INSTALLING CONTROL PANEL
2
Packaging
3
SECURITY
7
SSL
3
TROUBLESHOOTING
1

  Categories

  Tag Cloud

Disk usage dns domains Email emails firewall forwarder goddady name nameserver redirect server space subdomain Webmail

  Support

My Support Tickets
Announcements
Knowledgebase
Downloads
Network Status
Open Ticket

How to ban any IP address 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 protect folder with username and password? You can lock a directory with password by using the cPanel "Password Protected Directories"... 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.... How to protect your website 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...
« Back

Powered by WHMCompleteSolution

  Tag Cloud

Disk usage dns domains Email emails firewall forwarder goddady name nameserver redirect server space subdomain Webmail

  Support

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

Copyright © 2025 MO PRINTS & STATIONERIES. 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
Українська

Choose Currency

$ USD
Tsh TZS

Generate Password

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