Posted: 2015-03-23 00:13:14
Redirecting website HTTP (port 80) traffic to HTTPS (port 443) is very easy under Apache.
Redirect / https://www.example.com/
For this to work correctly, without any Browser warnings, your website will need to have the proper SSL Certificates installed. Most Browsers will not allow you into a website that is using self-signed certificates (nor mismatched “Common Name” / domain name certs).