Hi Jose,
Please find the steps to Transfer a domain to Azure (domain registration and hosting)
- Create an App Service app, or use an app that you created for another tutorial. The web app's App Service plan must be a paid tier, not the Free (F1) tier. See Scale up an app to update the tier.
- Make sure you can edit the DNS records for your custom domain. To edit DNS records, you need access to the DNS registry for your domain provider, such as GoDaddy. For example, to add DNS entries for
contoso.comandwww.contoso.com, you must be able to configure the DNS settings for thecontoso.comroot domain. Your custom domains must be in a public DNS zone; private DNS zones are not supported. - If you don't have a custom domain yet, you can purchase an App Service domain instead. Get a domain verification ID When you preemptively bind a custom domain, you accomplish both of the following before making any changes to your existing DNS records:
- Verify domain ownership by adding a domain verification ID with your domain provider.
- Enable the domain name in your App Service app.
- In the Azure portal, open the management pane of the App Service app. In the left pane of your app page, select Custom domains,from the Custom domains pane, copy the ID in the Custom Domain Verification ID box. You use this ID in later steps.
Create the DNS records
1.Sign in to the website of your domain provider. You can use Azure DNS to manage DNS records for your domain and configure a custom DNS name for Azure App Service. For more information, see Tutorial: Host your domain in Azure DNS. 2.Find the page for managing DNS records. Every domain provider has its own DNS records interface, so consult the provider's documentation. Look for areas of the site labeled Domain Name, DNS, or Name Server Management. 3.Often, you can find the DNS records page by viewing your account information and then looking for a link like My domains. Go to that page, and then look for a link that's named something like Zone file, DNS Records, or Advanced configuration.
Enable the domain for your app
- On the Custom domains pane, select Add custom domain.
- To configure a third-party domain, in Domain provider, select All other domain services.
- For TLS/SSL certificate, select Add certificate later. You can add an App Service managed certificate after you complete the domain migration.
- For TLS/SSL type, select the binding type you want.
- Type the fully qualified domain name that you want to migrate and that corresponds to the
TXT recordthat you created. For example:contoso.com,www.contoso.com, or*.contoso.com. - Select Validate. Although the dialog shows two records that you need for your app's custom domain to function, the validation passes with just the domain verification ID (the
TXT record). - If the Domain validation section shows green check marks, then you configured the domain verification ID correctly. Select Add. If it shows any red X(cross) marks, fix the errors on your domain provider's website.
- You should see the custom domain in the list. You might also see a red X with No binding. Because you selected Add certificate later, you see a red X(cross) with No binding. It remains until you add a private certificate for the domain and configure the binding.Test the DNS resolution
If you receive an HTTP 404 (Not Found) error when you browse to the URL of your custom domain, the two most likely causes are:
- The browser client has cached the old IP address of your domain. Clear the cache and test the DNS resolution again. On a Windows machine, you can clear the cache with
ipconfig /flushdns. - You configured an IP-based certificate binding, and the app's IP address has changed because of it. Remap the A record in your DNS entries to the new IP address.
If you receive a Page not secure warning or error, it's because your domain doesn't have a certificate binding yet. Add a private certificate for the domain and configure the binding.
Reference link for precise understanding:
https://learn.microsoft.com/en-us/azure/app-service/manage-custom-dns-buy-domain
Hope, you find this comment helpful, if yes, please “up-vote” for the information provided , this can be beneficial to community members.
Kindly let us know if you have any additional questions.
Thanks