Dec 27 2020 07:46 PM
Dec 27 2020 09:56 PM
I don't think you can turn off access to the website via [your cloud service name].azurewebsites.net domain.
However what you could do is include a rewrite rule in your web.config, so that whenever someone tries to access your website via azurewebsites.net domain, they are automatically redirected to your custom domain.
How to: Redirect the default *.azurewebsites.net domain to your custom domain on Azure Web Apps
https://www.zainrizvi.io/blog/block-default-azure-websites-domain/
Setup custom domain URL
https://docs.microsoftcommunitytraining.com/docs/setup-custom-domain-url
Jan 03 2021 11:02 AM
Hi it is not possible but you can map a custom domain
https://docs.microsoft.com/en-us/azure/app-service/app-service-web-tutorial-custom-domain