0

First I created a azure web app dealkar.azurewebsites.net. Then to use my custom domain dealkar.pk I go to Custom domains and SSL and there I bring external domain by following all the steps. Now When I go to Custom domains and SSL, Host names assigned to site contains dealkar.pk. It means I have successfully verified my domain 'dealkar.pk'. Right?

Before using azure, my website was hosted by godaddy. But after verifying my external domain, dealkar.pk still accesses godaddy contents. Why its not showing the contents of azure.i.e, dealkar.azurewebsites.net?

Note: Now when I open my web app in azure portal, http://dealkar.pk is written under URL.

Then I tried another option. I go to azure portal > New > Networking > DNS Zone then created a DNS zone. It gave me 4 nameservers. I updated nameservers against my domain dealkar.pk.

Now when I open my website, it says:

dealkar.pk’s server DNS address could not be found

Are these nameservers provided by Azure DNS Zone are not ready for use. Why its not working?

1
  • tell me if my question is not clear or what else I should mention? Commented May 11, 2016 at 20:49

1 Answer 1

2

I believe you're missing an important step here. What you need to do is go back to GoDaddy's (I'm assuming that you registered your domain there) DNS Zone manager and change records (CNAME, A etc.) appropriately so that they can point to the website hosted in Azure instead of pointing to the website hosted with GoDaddy. Please see this link regarding how you can do it: https://azure.microsoft.com/en-us/documentation/articles/web-sites-custom-domain-name/.

When you create a DNS zone in Azure and change DNS Servers in your domain registrar, you would need to create same set of records in Azure DNS as well. Because you didn't create any records in there, I believe that's the reason your name resolution is failing when you changed the nameservers.

Sign up to request clarification or add additional context in comments.

17 Comments

Firstly, my domain registrar is a pakistani company and they says that for pk domains you can only update nameservers. That' why I created nameservers in azure. How to create set of records in Azure DNS?
azure.microsoft.com/en-us/documentation/articles/… in this link where ip address came from??
For a moment, let's forget Azure DNS. Change your Nameservers back to the original one in your domain registrar DNS console. Then try the steps outlined in the link I posted in my answer with your domain registrar. Your site should point to Azure after some time.
The nameservers I was using was provided by godaddy not by domain registrar. Now when I will stop using godaddy hosting why they will let me use their nameserves?
I would recommend reaching out to your domain registrar and ask them how to change the nameservers. In my case, my domains are registered with GoDaddy but my websites are hosted in Azure and yet I can still use their Nameservers. HTH.
|

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.