Issue with /cpanel or /whm or /webmail.
If you are facing an issue that says user can’t access cpanel by
https://domain.com/cpanel
then please try doing the following,
1) log in to WHM and go to “Tweak Settings”
2) Uncheck the following two options from “System”,
Always redirect users to the ssl/tls ports when visiting /cpanel, /webmail, etc.
When visiting /cpanel or /whm or /webmail with ssl redirect to the server’s hostname (unless a custom certificate has been installed in Manage Service Certificates).
These two options should be unchecked to access /cpanel or /whm or /webmail.