I want the following to redirect to https://www.domain.com
I used the default rules in IIS for the canonical domain redirect, which uses this pattern :
^www\.domain\.com$
This works fine for the first one. The www domain does not redirect. I tried removing the ^ but that doesnt work. How do I fix this?
Suppose you have URL-Rewrite module on IIS7?
Typical example for HTTP to HTTPS redirection:
Can you try?