Easiest way is to use mod_rewrite and place a .htaccess file in your public_html directory with the following
Code:
rewriteEngine On
rewriteCond %{SERVER_PORT}!443
rewriteRule ^(.*)$ https://www.example.com/$1 [R,L]
at least, that is what my research shows