IjazM-0216, Thanks for posting this question.
Based on my understanding of your question, you are looking to have, App Service configured so it accepts traffic from Application Gateway using the custom domain name as the incoming host.
Typically, an HTTP Setting is required that instructs Application Gateway to access the App Service backend using the custom domain name. You need to configure custom health check probe, and the configure request routing rule to take traffic from a listener and route it to the Backend Pool.
Checkout this document for doc Configure App Service with Application Gateway for more info.
I also noticed that you’d posted a similar question on this thread. Hope this info helps!