To achieve the desired behavior of always displaying the Azure Front Door domain name in the browser's address bar, you need to configure a custom domain for your Azure Front Door instance. After creating a custom domain, you can map it to the default frontend host of your Azure Front Door instance. This way, when Azure Front Door delivers content from your backend, it will use your custom domain name instead of the default azurefd.net domain name.
You can follow the steps outlined in the "Configure a custom domain on Azure Front Door using the Azure portal" documentation to set up a custom domain for your Azure Front Door instance. Once you have completed the configuration, you should be able to access your web service through your custom domain name, and the URL will always show your custom domain name instead of the backend server's IP address.
References: