0
votes

Right now to create a custom domain you have to setup a cname for verification, and then you have to setup your real record, and then you can finally after that go and add it to the site.

I'm doing this scripted with C# and that's tedious considering that we're hosting our DNS with Azure. I would have thought that I could have added an a record to Azure and then add it directly to the website automatically but I can't figure out how to do this.

Anyone have any suggestions on how I can skip the whole Cname creation stuff?

Thanks!

1

1 Answers

0
votes

Did you purchase a custom domain through Azure Web Apps? https://azure.microsoft.com/en-us/documentation/articles/custom-dns-web-site-buydomains-web-app/

If you did, then everything should get automatically setup properly.

If you didn't, then you'll need to do the work to set it all up yourself.