custom redirect to an https://

I have an SSL cert installed on my site. www.domain.com always defaults to an http://www.domain.com instead of the secure site https://. I know I need to set up a custom redirect to the https:// but don't know how to set this up.

Anyone have any knowledge on this, whether this can be done in cpanel or through HTML code in the index.htm file?