Reputation: 851
I have configured an Azure web service to use a custom domain and successfully verified both the root domain and subdomain (www) in addition to binding a TLS cert to both.
When I navigate to http://example.com, the browser correctly redirects to https://example.com.
However, when I navigate to the subdomain http://www.example.com, the browser does not redirect to https. I can however navigate directly to my subdomain over https via https://www.example.com.
Why is Azure not enforcing the "Https Only" setting on the subdomain?
Update: screenshot from TLS/SSL settings page:
Upvotes: 2
Views: 756
Reputation: 3398
It seems everything you have done is okay... I just post what works on my side, you can have a look and check with yours.
After map custom domain, navigate to TLS/SSL settings, enable Https Only:
And ensure enable Https Only in custom domain page, too:
Upvotes: 0