Search…
Custom Domain

Custom Domain Configuration

If you want to create your own custom domain for your App Service URL, follow these steps:
  1. 1.
    Choose your App Service, on the left select Custom domain.
  2. 2.
    Click Add custom domain.
  3. 3.
    Enter your custom domain and click Validate
  4. 4.
    If the domain is on your Azure, CNAME and TXT records will be generated automatically, otherwise, if the domain is not running on Azure DNS you need to add them manually (see here).

Create App Service Managed Certificate

To use it for HTTPS
  1. 1.
    Go to TLS/SSL settings
  2. 2.
    Click on Private Key Certificates (.pfx)
  3. 3.
    Create App Service Managed Certificate for your custom domain

SSL Binding

  1. 1.
    Click Add custom domain to finish this configuration.
  2. 2.
    When the domain is added, create an SSL binding.
  3. 3.
    Click Add binding on the custom domain screen.
  1. 1.
    On the TLS/SSL Binding submenu click Upload PFX Certificate.
  2. 2.
    After uploading select your certificate and the binding type.
  3. 3.
    Next click Add binding.
  1. 1.
    After completing these steps, Application settings need to be updated
  2. 2.
    Choose app service and click Configuration
  3. 3.
    Then click Application Settings and edit the setting AppConfig:BaseUrl
  4. 4.
    Enter your custom domain and click OK.
  1. 1.
    Finally click Save.

Add CNAME and TXT manually to the DNS

If you want to add a custom domain for a domain outside Azure DNS (or your permissions), you need to add the CNAME and TXT records manually. Please use the values which azure provides in the domain ownership part

Microsoft Documentation and Managed Certificates

Add and manage TLS/SSL certificates in App Service: https://docs.microsoft.com/en-us/azure/app-service/configure-ssl-certificate​
Copy link
Edit on GitHub
Outline
Custom Domain Configuration
Create App Service Managed Certificate
SSL Binding
Add CNAME and TXT manually to the DNS
Microsoft Documentation and Managed Certificates