Hi all.
My website automatically redirects all requests to HTTPS. It also opens everything with www. (https://www.mydomain.com
instead of https://mydomain.com
).
Now I would like to enable HSTS via Cloudflare, but I’m not sure if that will kill my www., since technically it’s a subdomain of course. I don’t have any other subdomain, by the way.
My current Cloudflare settings:
- I have an DNS entry “A” also for www (orange symbol)
- My SSL/TLS encryption mode is Full
- I use the Cloudflare Universal SSL certificate
- I enabled the setting “Always Use HTTPS”
- I have a page rule that forces “Always use HTTPS” for the entry
http://*mydomain.com/*
So my question is:
After enabling HSTS will my site still be accessible via https://www.mydomain.com
or only via https://mydomain.com
?