Tweak Settings — Redirection

Valid for versions 124 through the latest version

Version:

110

112

116

118

120

124

Last modified: October 16, 2024


This section allows you to configure the SSL and non-SSL redirects for the cPanel, WHM, and Webmail services. This affects the URL the users see when they access the services.

The Redirection section includes the following settings:

Setting Description Values Default
Choose the closest matched domain for which that the system has a valid certificate when redirecting from non-SSL to SSL URLs. Formerly known as “Always redirect to SSL/TLS” This setting allows you to redirect users to the proper SSL/TLS ports when they visit specific URLs. The system will redirect users who navigate to the /cpanel, /webmail, or /whm paths to the appropriate port.
  • For example, when a user accesses www.example.com/cpanel, the system will redirect them to www.example.com:2083.
  • The system will not redirect users if they enter the corresponding subdomain (for example, cpanel.example.com).
  • The Require SSL setting forces SSL direction by default. We recommend that you do not change this setting.
If you enable this setting, the system attempts to redirect in the following order:
  1. Redirect to the Origin Domain Name location if an installed certificate secures that domain.
  2. Redirect to a wildcard domain that matches the name on the main service certificate.
  3. If no domain matches the domains on any certificate, redirect to the https:// protocol for the domain.
If you disable this option, these settings become available:
  • Non-SSL redirect destination
  • SSL redirect destination
  • On — Redirect.
  • Off — Don’t redirect. If you disable this option, users may send their passwords to these links without encryption. We strongly recommend that you do not disable this option.
On
Non-SSL redirect destination This setting allows you to specify how to redirect users who access cPanel & WHM via the /cpanel, /webmail, or /whm paths without SSL. If you enable the Always redirect to SSL/TLS setting, the system ignores this setting.
  • Hostname — Redirects users to the server’s hostname (for example, host.example.com:2082, where host.example.com represents the server’s hostname).
  • Origin Domain Name — Redirects a user to their main domain (for example, example.com:2082, where example.com represents the user’s domain).
Origin Domain Name
SSL redirect destination This setting allows you to specify how to redirect users who access cPanel & WHM via the /cpanel, /webmail, or /whm paths with SSL. If you enable the Always redirect to SSL/TLS setting, the system ignores this setting.
  • SSL Certificate Name — Redirects users to the domain that the website’s SSL certificate secures. You can view this certificate in WHM’s Manage Service SSL Certificates interface (WHM » Home » Service Configuration » Manage Service SSL Certificates).
  • Hostname — Redirects users to the server’s hostname (for example, host.example.com:2083, where host.example.com represents the server’s hostname).
  • Origin Domain Name — Redirects a user to their main domain (for example, example.com:2083, where example.com represents the user’s domain).
SSL Certificate Name
Logout redirection URL This setting allows you to redirect users to a specific URL after they log out.
  • No redirection — Don’t redirect users.
  • Select the text box and enter a URL.
No redirection