Search code examples
azureazure-api-apps

How to customize a subdomain for an azure api app?


I would like to know if there is a way to configure a subdomain for an azure api app that I recently published.

The current url provided from azure looks like https://microsoft-apiappd2c35ca5dbc343bca7543041467c2b32.azurewebsites.net and I haven't found a way to configure a subdomain like myapi.mycompany.com as I can do it with the websites.


Solution

  • You can customize it on the API app host. To find that, open the API App blade and on the settings find the "API app host" and click it. On the new blade that will open, click on "All Settings" and then "Custom domains and SSL".

    Just keep in mind that this likely will only be valid during the preview and might change in the future.