I am hosting my own server using a domain I bought on Namecheap. Therefore I created an A record that points from www to my public IP address. My server redirects all requests to HTTPS already, hence I figured I do not need to set up an HTTP to HTTPS redirect anymore. The current setup is like follows:
Calling http://example.com now successfully redirects to https://www.example.com.
Calling https://example.com hangs forever.
How do I redirect from https://example.com to https://www.example.com?
