Search code examples
azurednsazure-active-directoryazure-web-app-servicesitecore8

How can I add custom domain in portal azure?


I try like this :

enter image description here

I have input my custom domain and click validate. It appears like a picture. I was confused what should I do next. There is no verify button

If I check on docs https://learn.microsoft.com/en-us/azure/active-directory/fundamentals/add-custom-domain, there exist verify button

How can I solve this problem?


Solution

  • The issue will occur if you haven't added a CNAME record pointing to your website(sitecore-xxxxx-sm.azurewebsites.net).

    If you bought the domain from azure, you can follow the steps below.

    enter image description here

    1.Click the domain name under App Service Domains part. You will be redirected to the management page.

    2.Click 'Manage DNS records'

    enter image description here

    3.click 'Record set' to add a CNAME record.

    enter image description here

    If you bought the domain from other platform, you need to go to their domain management page to configure this, the steps are similar.