How do I set up a custom domain in azure?

Your custom domain names work as expected, but in addition to adding them to your apps, you must also configure your DNS map to point to the Traffic Manager URL. For information on how to set up a custom domain for an App Service app, see Configure a custom domain name in Azure App Service with Traffic Manager integration.
For More Information Please Refer:

You May Also Like to Read: