CPanel URL Tweak Settings

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

Important:

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

1
2
3
www.example.com/cpanel
www.example.com/webmail
www.example.com/whm

These settings do not apply to the following URLs:

1
2
3
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.
  • Your third-party client must support redirection for cPanel & WHM's Calendars and Contacts Client Configuration feature.

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.

    • Related Articles

    • Password protect directory in cPanel

      1. Log in to your cPanel account > Files section > Directory Privacy menu:  2. Select Document Root for option and the domain name in question from the drop-down menu, and hit Go:  3. Once there, you may pick up the directory you wish to protect:  4. ...
    • setup custom DNS / Name servers with WHM/Cpanel on my VM

        The first time you log into WHM you will have to complete a 6 step basic configuration.   Click on I agree/Go to Next Step 2. Enter your email address at Server Contact Email Address (user@domain.com). Make sure your VPS hostname is correctly ...
    • enable cURL on WHM/cPanel using EasyApache

      How to enable cURL on WHM/cPanel using EasyApache Authorsupport support Article Reference NumberAA-05017 Views10659 How to enable cURL on WHM/cPanel using EasyApache Overview A command line tool for getting or sending files using URL syntax. To ...
    • Creating an email account with cpanel

      Setting up an Email Account in cPanel If your account includes email service, you need to first set up an email account in cPanel. Log into cPanel and click on the ‘Email Accounts’ icon under mail. It will take you to this screen. Type in the name ...
    • Setting Up Private Nameservers in WHM/cPanel

      Setting up your own private nameservers on a cPanel server has many benefits, most importantly enabling all of cPanel’s built in DNS tools which can make DNS changes much easier. This guide will show you how to set up and register new private ...