olivehour
03-30-2010, 06:39 PM
I contacted dasp support and was told to post here.
Basically, I want to know if & how I can secure both of the following domains:
https://olivehour.com
https://www.olivehour.com
Do I need 2 SSL certs, and if so, do I need 2 hosting accounts?
Basically, I want the site's canonical URL to be https://www.olivehour.com. So, requests sent to https://olivehour.com should be 301 redirected to https://www.olivehour.com.
I've set up the following IIS 7 URL rewrite rule, and it's working for all domain requests except for https://olivehour.com. Any help or advice is appreciated, thanks.
<rewrite>
<rules>
<rule name="Canonical Host Name">
<match url="(.*)" />
<conditions logicalGrouping="MatchAny" trackAllCaptures="true">
<add input="{HTTP_HOST}" pattern="^www\.olivehour\.com$" negate="true" />
<add input="{HTTPS}" pattern="^OFF$" />
</conditions>
<action type="Redirect" url="https://www.olivehour.com/{R:1}" />
</rule>
</rules>
</rewrite>
Basically, I want to know if & how I can secure both of the following domains:
https://olivehour.com
https://www.olivehour.com
Do I need 2 SSL certs, and if so, do I need 2 hosting accounts?
Basically, I want the site's canonical URL to be https://www.olivehour.com. So, requests sent to https://olivehour.com should be 301 redirected to https://www.olivehour.com.
I've set up the following IIS 7 URL rewrite rule, and it's working for all domain requests except for https://olivehour.com. Any help or advice is appreciated, thanks.
<rewrite>
<rules>
<rule name="Canonical Host Name">
<match url="(.*)" />
<conditions logicalGrouping="MatchAny" trackAllCaptures="true">
<add input="{HTTP_HOST}" pattern="^www\.olivehour\.com$" negate="true" />
<add input="{HTTPS}" pattern="^OFF$" />
</conditions>
<action type="Redirect" url="https://www.olivehour.com/{R:1}" />
</rule>
</rules>
</rewrite>