So adding a slot name as dev, would create the url as appservice-dev.azuresites.net. How can we create dev-appservice.azurewebsites.net ?
So adding a slot name as dev, would create the url as appservice-dev.azuresites.net. How can we create dev-appservice.azurewebsites.net ?
By design, it takes the form of https://<app_name>-<slot-name>.azurewebsites.net , it’s suffixed and unfortunately cannot be changed (or prefixed).

If your requirement fits, you may use a custom domain for the slots. The custom domain name is a sticky setting, meaning, the custom domain name is targeted to a slot and is not swapped.
Kindly see the doc section ‘Settings that aren't swapped’: https://docs.microsoft.com/azure/app-service/deploy-staging-slots#which-settings-are-swapped
If you wish you may share your feedback on this on our Uservoice - All of the feedback you share in these forums will be monitored and reviewed by the Microsoft engineering teams responsible for building Azure. Also, users with a similar request, can up-vote you post and add their comments.
P.S.
Just to clarify: It's looks here "would create the url as appservice-dev.azuresites.net. " - I believe you meant: appservice-dev.azurewebsites.net.
4 people are following this question.