title: Setting up a custom domain with an Azure Function app
body: <p>I have an Azure Function app running on dynamic pricing and am trying to set up a custom domain.</p>
  
  <p>I have added and verified the domain and setup the CNAME record accordingly. The custom domain shows up correctly as the "URL" when I view the App Service settings in the Azure portal. If I try to use this domain, however (to access an HTTP trigger function), I am returned with "Error 404 - Web app not found."</p>
  
  <p>When I look at the Function URL in the portal, it still shows the x.azurewebsites.net domain, not the custom domain I have added. Is there anything additional I need to do to get Functions working with a custom domain?</p>