( Home >> Server Configuration >> Tweak Settings )

 

When a user accesses cPanel or WHM on an SSL/TLS port with the HTTP protocol, the web server redirects the user to the HTTPS URL of the server's hostname. For example, if the server's hostname is host.examplehost.com, http://www.example.com:2083 will direct the user to https://host.examplehost.com:2083 .

The Always redirect to SSL, Non-SSL redirect destination, and SSL redirect destination settings apply when visitors attempt to access the following URLs:

www.example.com/cpanel
www.example.com/webmail
www.example.com/whm

These settings do not apply to the following URLs:

cpanel.example.com
webmail.example.com
whm.example.com

Always redirect to SSL

This setting allows you to redirect users to the proper SSL/TLS ports when they visit specific URLs. This setting defaults to Off.

  • To force SSL with the above URLs, enable the Require SSL  option in the Security section of the Tweak Settings interface. The Require SSL  option does function with proxy subdomains.
  • When you enable this option, users cannot send their passwords to these links without encryption.

Non-SSL redirect destination

This setting allows you to specify how to redirect users who access cPanel & WHM without SSL. Select one of the following options:

  • Hostname — Redirects users to the server’s hostname (for example, host.example.com:2082, where host.example.com is the server's hostname).
  • Origin Domain Name — Redirects a user to their main domain (for example, example.com:2082, where example.com is the user's domain). This is the default option.

 

SSL redirect destination

This setting allows you to specify how to redirect users who access cPanel & WHM with SSL. Select one of the following options:

  • SSL Certificate Name — Redirects users to the domain that the website's SSL certificate lists. You can view this certificate in WHM's Manage Service SSL Certificates interface (Home >> Service Configuration >> Manage Service SSL Certificates). This is the default option.
  • Hostname — Redirects users to the server’s hostname (for example, host.example.com:2083, where host.example.com is the server's hostname).
  • Origin Domain Name — Redirects a user to their main domain (for example, example.com:2083, where example.com is the user's domain).

 

Logout redirection URL

This setting allows you to redirect users to a specific URL after they log out of cPanel. This item’s default value is No redirection.