how to link my webpage on azure to my domain

carlos e 20 Reputation points
2023-08-22T18:51:07.9+00:00

My domain is currently hosted by a local company. They also host my email addresses. This company has informed me that in order to point my domain to my webpage on azure, I need to provide them with the relevant dns addresses. I already created a dns zone in my azure account. I need help identifying these dns addresses so I can share them with my domain hosting company.

Thank you.

Azure DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
777 questions
{count} votes

Accepted answer
  1. AirGordon 7,150 Reputation points
    2023-08-22T19:16:56.5633333+00:00

    You don't need a dns zone.

    You need to provide them the DNS Cname to your Web app.

    Eg. If your site is https://blahblah.azurewebsites.net, your custom domain is blah.com and you want the website hosted on www.blah.com then you'll ask them to crate a CNAME of www on blah.com that points to blahblah.azurewebsites.net

    1 person found this answer helpful.

3 additional answers

Sort by: Most helpful
  1. ChaitanyaNaykodi-MSFT 27,481 Reputation points Microsoft Employee Moderator
    2023-08-29T04:34:58.6566667+00:00

    @carlos e

    Thank you for reaching out.

    Based on my understanding of your question above you need help in identifying the DNS addresses to link your webpage on Azure to your domain hosted by a local company. You already have already created a DNS zone in their Azure account and need to provide the relevant DNS addresses to their domain hosting company.

    Based on this document Map an existing custom DNS name to Azure App Service (this is the same link from your comment above) provides the steps required to onboard this custom domain for your Web app.

    Depending on your requirement and local company's preference you can add the domain in the following ways.

    User's image

    Follow the steps here to Configure a custom domain and for each custom domain in App Service, you need to provide two DNS records to your domain provider(Local Company). The Domain validation section shows you two DNS records that you must add with your domain provider. Select the respective Copy button to help you with the next step. For example, if you enter www.blahblah.com sub domain record, which shows a CNAME record and a TXT record which you need to provide to the Local Company which hosts the domain.

    The next step should be done by the Local Company which hosts the domain. They need to enter the CNAME record and a TXT record (copied from the step above) in the zone files of the domain as discussed here.

    After the local company has added the records above, you can then perform the Validation Step as discussed here and monitor the progress. Please let me know if you face any errors in the validation step.

    Based on your question above.

    You do not need to create a DNS Zone in Azure to onboard the custom domain on your web app. Although depending on your preference you can use Azure DNS to host your DNS domain and manage your DNS records and you won't have to always reach out to your Local Company to manage the records. You can follow this tutorial if you want to implement this.

    You can go through this document if you need more information on how delegation of DNS zones with Azure DNS works.

    Hope this helps! Please let me know if you have any additional questions. Thank you!


    ​​Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    1 person found this answer helpful.
    0 comments No comments

  2. carlos e 20 Reputation points
    2023-08-22T21:38:39.3466667+00:00

    Thank you for your quick answer.

    I spoke with my hosting company and they understand what is needed; i.e.; just to give them my azure address: https://blahblah.azurewebsites.net.

    If, as you say, I do not need a dns zone, should I discard it?

    Thank you once again.

    0 comments No comments

  3. carlos e 20 Reputation points
    2023-08-29T20:14:05.04+00:00

    I apologize for the delay in responding, but I did not want to do so prematurely. I have shared the CNAME and TXT with the local company that hosts my domain, and I am waiting for their response. As soon as I get an answer, I'll try to validate and hopefully, I'll be able to say that my issue has been solved!

    Thank you.


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.