I have two websites with two different domain names set under Cultures and Hostnames i.e.
site.com
site2.com
www.site.com
www.site2.com
When I added canonical URLs so when the user typed
site.com it went to www.site.com
site2.com went to www.site2.com
Note the www. All works correctly when its http.
I now have the site as https but i tweaked the web.config Url Rewriter and it doesnt redirect to https or if it does it only does one site.
Does anyone know how to create this rewrite in web.config to achieve the above?
Thanks