Hey, that makes sense. I followed your advise, and now this website's webconfig looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="non-www" stopProcessing="true">
<match url="(.*)" />
<conditions>
<add input="{HTTP_HOST}" pattern="^d*********\.com$" />
</conditions>
<action type="Redirect" url="www.d*********.com{R:1}" appendQueryString="false" redirectType="Permanent" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
I can't help but notice the slight differences. I have no negate=true, and I don't have the www in the condition pattern because I am trying to match requests that come in without it. I have tried with <add input="{HTTP_HOST}" pattern="^www.d*********\.com$" /> too, but I still get a blank 200 response on the non-www version of the site.
This is running on Windows Server Web SP1.