cPanel login error

We have created a cPanel droplet selecting image from the Marketplace. It all looks configured correctly and we are able to SSH in to the Ubuntu instance. But we are unable to login to the cPanel WHM portal using URL: https://IPADDRESS:2087 (as per Digital Ocean documentation for WHM cPanel setup), it fails with error: “The login is invalid”. We have tried with different ISP connections, Mobile Hotspot and by even uninstalling the Antivirus from the Laptop from which we are trying to login, getting same error in all scenarios. Any help, suggestions to fix this issue will be greatly appreciated.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Site Moderator
Site Moderator badge
October 11, 2022
Accepted Answer

Hello @sangramnayaka

This error means that the credentials provided by your authentication attempt were rejected.

If the correct password is being used and you can access SSH, can use the cPhulkd command-line tools to whitelist the IP you are connecting from to prevent further blocks. The following command can be used by replacing the example($IP) with your actual IP address.

  1. /usr/local/cpanel/scripts/cphulkdwhitelist $IP

Also, new installations of cPanel come with a 15-day free trial. For further use beyond that point, a valid license will need to be purchased directly through cPanel.


Site Moderator
Site Moderator badge
October 11, 2022

Hi @sangramnayaka,

Once you SSH to your Droplet, you can try and change the root’s user password and then use that user to connect to. That’s the best and easiest way to go forward.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel