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
Answer a question...

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.