Hi @Tenanana-7634
ajkuma-MSFT 's comment is useful. I'll summarize and add a little bit about the way to achieve this requirement using the web server configuration file.
Because asp.net core is cross-platform, it is most convenient to use middleware to implement url rewrite, and it is also convenient to deploy.
But if you know the type of web server, that's also achievable. When we create an azure web app, use F12 to check the information of the webserver, and then choose to add the corresponding file.
Different servers use different configuration file types as follows:
IIS : using web.con fig
Nginx : using .conf
Apache : using .htac cess
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best regards,
Jason