Custom domain migration

Gautham G 21 Reputation points
2023-09-21T04:58:35.51+00:00

I want to migrate custom domain from one azure subscription to another without downtime. Please suggest me the ways.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,630 questions
{count} votes

Accepted answer
  1. SnehaAgrawal-MSFT 21,266 Reputation points
    2023-09-21T06:52:07.45+00:00

    @Gautham G Thanks for reaching here!

    You can migrate an active custom domain in Azure, between subscriptions or within the same subscription. However, such a migration without downtime requires the source app and the target app are assigned the same custom domain at a certain time.

    Therefore, you need to make sure that the two apps aren't deployed to the same deployment unit (internally known as a webspace). A domain name can be assigned to only one app in each deployment unit.

    You can find the deployment unit for your app by looking at the domain name of the FTP/S URL <deployment-unit>.ftp.azurewebsites.windows.net.

    Check and make sure the deployment unit is different between the source app and the target app.

    The deployment unit of an app is determined by the App Service plan it's in. It's selected randomly by Azure when you create the plan and can't be changed. When you create two apps in the same resource group and the same region, Azure puts them in the same deployment unit.

    However, there's no way to make sure that the opposite is true. In other words, the only way to create a plan in a different deployment unit is to keep creating a plan in a new resource group or region until you get a different deployment unit.

    Suggest you to refer this detailed document here- Migrate an active DNS name to Azure App Service

    Please let us know if further query or issue remains.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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