@Venu Gopal Krishna VV Thanks for reaching here! Just to confirm, Is this a Windows or Linux WebApp?
Further to add on Vahid response, please see this blog by Zain Rizvi for the detailed steps.
For cases where you want to replace the path segment of a URL as part of redirection, you can set this field with the new path value. Otherwise, you can choose to preserve the path value as part of redirect. So, using this field, you can redirect all requests sent to https://www.contoso.com/\*
to https://www.contoso.com/redirected-site
. see- https://learn.microsoft.com/en-us/azure/frontdoor/front-door-url-redirect?pivots=front-door-standard-premium#destination-path
If you’re using Application Gateway, please see this blog for more info.
Let us know if further query or issue remains.