Page tree
Skip to end of metadata
Go to start of metadata

For cPanel & WHM version 60

( Home >> Server Configuration >> Tweak Settings )

 

Note:

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

Important:

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.

Notes:

  • To force SSL with the above URLs, enable the Require SSL option in the Security section of the Tweak Settings interface.
  • When you enable this option, users cannot send their passwords to these links without encryption.
  • cPanel's Calendars and Contacts interface (Home >> Email >> Calendars and Contacts) requires that your third-party client supports redirection.

Important:

The Require SSL option does function with proxy subdomains. However, the Redirect option does not function with proxy subdomains.

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 setting defaults to Origin Domain Name.

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 secures. You can view this certificate in WHM's Manage Service SSL Certificates interface (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 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).

This setting defaults to SSL Certificate Name.

Logout redirection URL

This setting allows you to redirect users to a specific URL after they log out of cPanel. This setting defaults to No redirection.

 

Additional documentation