cPanel, Force HTTPS Redirect
The cPanel server provides a feature to force your website to use https. Using this feature is preferred over manually adding redirects using the "Redirects" feature or manually adding rules to the .htaccess file.
Force HTTPS Redirect for your site
In most cases it is preferred to send website visitors to the HTTPS version of your website. CPanel provides a feature to manage this for you.
To enable HTTPS redirection:
- Visit your cPanel dashboard and find the item labeled Domains. (The search box at the top of the screen can help.)
- Each of your domains will be listed on the resulting page.
- In the column labeled Force HTTPS Redirect, toggle the control to On for the domain you wish to restrict.