Hello @Rashmi Sajjan ,
Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.
Are you able to access your webapp on the configured path directly bypassing the AFD?
If you want to access the backend pool (web app in your case) based on the path URL with Azure front door, you must make sure the virtual path exists on your web app. For example, you have to add the virtual directory /path (like /new in the below example) in your app service like this:
Refer : https://learn.microsoft.com/en-us/azure/app-service/configure-common#configure-path-mappings
So you could access your web app via URL https://xxx.azurewebsites.net/new.
Then you could add */new/** or /new in the PATTERNS TO MATCH and modify the Forwarding protocol to match request in your routing rule of Azure Front door:
After this, you could access the URL frontdoor.azurefd.net/new for your web app.
For more reference: https://learn.microsoft.com/en-us/azure/frontdoor/front-door-route-matching
Kindly let us know if the above helps or you need further assistance on this issue.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.