I bought an SSL certificate for a website and followed the full installation procedure given by the vendor. It is now active and if I go to lets say https://website.com
I get the desired result.
However, when someone tries http://website.com
the request is not redirecting to https://website.com
. I want that when someone enters website.com
the request is automatically redirected to https://www.website.com
.
I am using GoDaddy Linux server hosting. Please suggest what should I do to achieve what I want.