Can I add a custom domain to a webapp and later change it

Augusto Marin Guzman 1 Reputation point
2021-10-19T20:19:34.563+00:00

Can I add a custom domain to a webapp and later change it so that the same url is used for a function ?

I mean, initially mount a web service in an app service and later migrate it to azure function and keep the same url of the service

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan Hill 30,326 Reputation points Microsoft Employee Moderator
    2021-10-20T02:53:29.09+00:00

    Just like you followed https://learn.microsoft.com/en-us/azure/app-service/app-service-web-tutorial-custom-domain?tabs=cname to bind the custom domain to the app service, you would remove the custom domain and CNAME and/or A records from your DNS registrar that was pointing your app service and perform the same documented steps to bind your existing domain to the app service.

    The only contention I can think of is the use of consumption plan. I checked the docs and there isn't any listed limitation using a custom domain with consumption plan, but just food for thought.

    0 comments No comments

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.