My company wants to migrate our website hosted on WordPress to WordPress on App Service. I have deployed my WordPress on App Service behind Azure front door. I can access the WordPress site by putting my custom domain in url but I have two main issues accessing the WordPress admin portal:
1. To go to wordPress Admin portal, adding /wp-admin to URL does not work. It redirects me to the Azure app service default site which is forbidden. But adding only /admin in the URL takes me to admin portal.
2. The URL for the WordPress admin portal is showing the azure front endpoint instead of my custom domain on the Azure front door
https://pressword-8871aec190-ekbbbnbsgsh0eecg.z02.azurefd.net/wp-login.php?redirect_to=https%3A%2F%2Fpressword-8871aec190-ekbbbnbsgsh0eecg.z02.azurefd.net%2Fwp-admin%2F&reauth=1
My question is
How can I configure Azure Front Door to show my custom domain name in the admin portal URL?