Prevent web_app.azurewebsites.net from being a usable URL and redirecting to the custom domain

Cavan Vannice 20 Reputation points
2025-03-28T19:45:08.16+00:00

I'm finding that bots are hitting my azurewebsites.net domain name, and I want to prevent it and/or redirect it to my custom domain name. I don't see an easy way to do this in the app settings. Am I missing it?

Also, I pay for Azure support, but why am I not able to create a ticket on this? It forced me here.

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.