Deny IP manager entry All in cpanel

Posted on 2011-04-26
Last Modified: 2013-11-08
Hi All,
I am relatively new to cpanel. But have used other control panels. I normally block unwanted IP’s in the htaccess file.
When I set up the hosting account I looked at Deny IP manager and believe it said “no IPs are being blocked”.
Then one day the list of “Current IP addresses being blocked:” changed to a single entry:
Server Setting – All  
Beginning IP – All
Ending IP - All
When I try to remove this entry I get the following error message "Error: invalid argument, requires IP"
The site still works (which kind of surprises me) and people come and go. But I suspect this issue has something to do with an issue with returning transactions.
I look forward to hearing what people think, is this entry normal or should I / how can I get rid of it.
Question by:mytext
    LVL 18

    Accepted Solution


    Have you tried this:

    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.


    Regards, Tobias

    Author Comment

    Hi Tobais,

    I had a look at the old and the new htaccess file and...

    The new after editing by cpanel:
    <Limit GET POST>
    #The next line modified by DenyIP
    order allow,deny

    The old htaccess from backup:
    <Limit GET POST>
    order deny,allow

    I have a big list of blocked IPs which I added manually.

    What would the effect of the change in order be?

    is there anyway to stop cpanel from messing in the htaccess?

    many thanks.


    LVL 18

    Expert Comment

    Did it work to restore the .htaccess file from backup?

    >What would the effect of the change in order be?
    I don't know.

    >is there anyway to stop cpanel from messing in the htaccess?
    It might be a bug in cPanel. Try opening a ticket at:

    Regards, Tobias

    Author Comment

    Hi Tobias,

    I have changed it back to the old method. I will not know if it made any difference untill a real life transactions gets processed.

    I have checked the site from a number of computers and see no negitive impact, yet anyway.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
    Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now