How to assign domain name to my azure webapi

Occasional Visitor

I recently bought a domain name from a service provider, the intention is to assign this domain name to my azure functionapp . Please could someone point me in the right direction.

I two public functions.

https://dev-aaa.azurewebsites.net

https://dev-bbb.azurewebsites.net

 

How do I assign contoso007.net to the above functions? 

Thank you.

 

1 Reply
You need to add the custom domain to your Function App. This process is similar to the one described for the App Service here: https://docs.microsoft.com/en-us/azure/app-service/app-service-web-tutorial-custom-domain#get-a-doma... - you will add a CNAME record to your DNS pointing at the azurewebsites.net address.

You could assign the custom domain aaa.contoso007.net (for example) to the first function, and bbb.contoso007.net to your second.