How do I block an IP address using Cpanel?

If there is an IP address you want to block from your website, you can do so inside Cpanel. Here are the steps:

(a) Log into your Cpanel account.
(b) Under "Site Management", go to Ip Deny Manager.
(c) Under "Add an IP Deny:" enter in the IP address you wish to block.
(d) Click "Add". 

You're all set! Now to remove the IP banning, all you need to do is remove the string it created in your .htaccess file or select it from the drop down menu on the IP Deny Manager page. The IP address you added to the ban list will not be able to access your website ever again!
  • 41 Kunder som kunne bruge dette svar
Hjalp dette svar dig?

Relaterede artikler

How to Connect to the MySQL Database

Note: If connecting from your home computer, you need a MySQL client like Navicat, phpMyAdmin,...

How to host domain from other registrar to CubeHostIndia by changing Nameserver

Most of the users have a domain from various domain registrars and they are willing to host their...

Working with temporary URL on cPanel

Our Shared hosting server is running on fcgi php handler with the suEXEC enabled, due to security...

Accessing Web Disk and WebDav

Web disc (also known as WebDAV) is a drag-and-drop interface which allows you to access your...

Apache Handlers, running html as php

Apache handlers allow you to control what Apache will do with certain file types. When Apache...