0
votes

I`m trying to setup SSL certificate on site that using Microsoft Azure hosting, SSL from Azure and domain provided from superhosting.bg. Site using .NET MVC 5 and SQL Server for DB

In Azure environment I have SSL sertificate

azure ssl setup

In the web.confing file I have

  <system.webServer>
    <rewrite>
      <rules>
        <!-- BEGIN rule ELEMENT FOR HTTPS REDIRECT -->
        <rule name="Force HTTPS" enabled="true">
          <match url="(.*)" ignoreCase="false" />
          <conditions>
            <add input="{HTTPS}" pattern="off" />
          </conditions>
          <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" appendQueryString="true" redirectType="Permanent" />
        </rule>
        <!-- END rule ELEMENT FOR HTTPS REDIRECT -->
      </rules>
    </rewrite>
  </system.webServer>

My question is in the firm that provide me domain name what value I need to setup to work properly?

domain firm settings

1

1 Answers

0
votes

After configured the IP based SSL, Azure Web App will create a new, dedicated IP address for your web app. Please open your web app's Custom domain page to get the latest IP address and remap it or your A record.

In addition, I found there is a extra '.' at the end of your CNAME record binding.

mebellete.azurewebsites.net.

Please change it to

mebellete.azurewebsites.net