There are many ways to redirect your website from HTTP to HTTPS, but I found this as the easiest and best way to do this.

Login to cpanel and edit the file .htaccess

Add the following code

RewriteEngine On 
RewriteCond %{HTTPS} off 
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

You site now will be automatically redirected to Https.