WHM can redirect control-panel access paths such as /cpanel, /whm and /webmail to encrypted service URLs. The relevant setting also chooses a matching certificate hostname where one is available.

Enable the service redirection setting

  1. Open WHM > Server Configuration > Tweak Settings.
  2. Select Redirection.
  3. Find Choose the closest matched domain for which the system has a valid certificate when redirecting from non-SSL to SSL URLs, formerly labelled Always redirect to SSL/TLS.
  4. Select On and click Save.
  5. Test the relevant access path and confirm its destination uses HTTPS and a valid certificate.

Click ‘ON’

This setting does not redirect every page of every hosted website to HTTPS, and service subdomains follow separate behaviour. Website redirects and their certificates must be configured for the website itself. Keep the applicable Require SSL service setting enabled rather than relying on a label alone to establish encryption.