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

This document is for a previous release of cPanel & WHM. To view our latest documentation, visit our Home page.

For cPanel & WHM 11.42

( Home >> Server Configuration >> Tweak Settings )

 

Information:

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, the URL http://www.example.com:2083 will direct the user to https://host.examplehost.com:2083.

Always redirect to SSL

Note:

$body

Use this option to redirect users to the proper SSL/TLS ports when they visit the following URLs (where example.com stands for the user's domain name):

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

This option does not redirect users when they visit the following URLs:

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

This item defaults to Off.

Note:

If you wish to force SSL with the above URLs, enable the Require SSL option in the Security section. The Require SSL option does function with  proxy  subdomains.

Non-SSL redirect destination

Use this option to specify how to redirect users who access cPanel & WHM without SSL.

Select one of the following:

  • 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.

This rule applies when a user visits the following URLs:

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

This rule does not apply when a user visits the following URLs:

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

SSL redirect destination

Use this option to specify how to redirect users who access cPanel & WHM with SSL. Select one of the following:

  • SSL Certificate Name — Redirects users to the domain listed in the SSL certificate that is used by cPanel, WHM, and webmail. You can view this certificate on the Manage Service SSL Certificates interface. 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).

This rule applies when a user visits:

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

This rule does not apply when a user visits:

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

Logout redirection URL

Use this option to redirect users to a specific URL after they log out of cPanel.

To specify a new URL, click the button next to the text box, and enter the URL.

This item’s default value is No redirection.