Hello Vamshi mohan Dharanikota
Greetings!
I understand that you are looking to create a redirection rule in the application gateway.
For a URL rewrite, Application Gateway modifies the URL before sending the request to the backend, without altering what users see in their public browser since the changes are hidden.
For a URL redirect, Application Gateway sends a redirect response to the client with the new URL, requiring the client to resend its request to the new URL, which updates the URL visible in the browser.
Application Gateway can redirect traffic using a generic redirection mechanism, allowing redirection from one listener to another listener or to an external site. This simplifies application configuration, optimizes resource usage, and supports new redirection scenarios, including global and path-based redirection.
If you configured www.abc.com in the same application gateway with another listener.
Check the below public document for more understanding Gateway request routing rules
And also check the redirection rule public document: Application Gateway redirect overview
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.
If you have any other questions or are still running into more issues, let me know in the "comments" and I would be happy to help you.