Hullo there, Virtualminners!
I am in the process of upgrading my site to https, because I will be adding payment services which will require transfer of financial information.
Try as I might, I can not get the pages to resolve in https.
If I type "https://mydomain.com" in the address field, it DOES resolve to https, and give me the "lock" symbol and certificate information. So I think that all is set up correctly for security.
However, if I type "mydomain.com", the page resolves to http://mydomain.com — not what I want. In fact, what I want is when anyone tries to go to any variation of the domain, including "http://mydomain.com", that they be redirected to "https://mydomain.com".
This is frustrating, as I thought I made the requisite changes in my Virtualmin panel. Particularly, this setting:
System settings / Virtualmin Configuration / SSL Settings / Redirect HTTP to HTTPS by default?
Is set to "Yes".
Is there something I am missing? Let me know if you need any information that I have not provided.
Note that when I log into the Virtualmin panel, the Virtualmin panel pages do resolve to https, i.e.: https://ded.mydomain.com:10000/virtual-server/…
My html files are located at: /home/mydomain/public_html/
Thanking you in advance.