I'm finding a way to make specifically https:// + [bare domain] successfully redirects to https:// + [www sub-domain].
<br>
I have a Pythonanywhere website at www.jurutera.io. Entering these domains in the URL bar correctly redirects to https://www.jurutera.io/:
- jurutera.io
- www.jurutera.io
- http://jurutera.io
- http://www.jurutera.io
<br>
But going to https://jurutera.io does not. Does anyone know if I'm missing anything? Why does HTTPS + bare domain not work?
Note that since the above 4 domain variations work, I believe I have correctly set up my bare/naked domain redirect on NameCheap and https certificate using the free Let's Encrypt certificate.