do u have url rewrite [1] installed on IIS ?
additionally here is my rewrite rule


<system.webServer>
    <rewrite>
      <rules>
        <clear />
        <rule name="Redirect to https" stopProcessing="true">
          <match url=".*" />
          <conditions>
            <add input="{HTTPS}" pattern="off" ignoreCase="true" />
          </conditions>
          <action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}";
redirectType="Permanent" appendQueryString="false" />
        </rule>
      </rules>
    </rewrite>
  </system.webServer>


[1]: https://www.iis.net/downloads/microsoft/url-rewrite


On Wed, Jul 12, 2017 at 4:03 AM, Greg Keogh <gfke...@gmail.com> wrote:

> fwiw i usually redirect http to https
>>
>
> I had another bash at this with a fresh mind after reading various
> articles. I have 2 pairs of site bindings for http and https (www prefix
> and without). My DNS points both www and without to my IP. I added a
> redirect rule based upon this one
> <https://docs.microsoft.com/en-au/azure/app-service-web/app-service-web-tutorial-custom-ssl>,
> but there are many other samples that are nearly identical and I tried a
> few combinations.
>
> All I get is "Can't reach this page" with detail
> INET_E_RESOURCE_NOT_FOUND. This hints it's a DNS problem, but where?!
>
> *GK*
>

Reply via email to