Configuring a naked domain name for a Windows Azure web site

Logo Windows Azure

If you not only want to point your domain to a Windows Azure web site using www.yourdomain.com but also using a naked (apex, root) domain without the www such as yourdomain.com I found that it was not fully clear how to do that. The “official” documentation can be found here:

http://www.windowsazure.com/en-us/develop/net/common-tasks/custom-dns-web-site

This is how it should be to make it work

To configure an A record to enable your naked domain (yourdomain.com) as well as the full domain (www.yourdomain.com), you must configure two CNAME records used to verify the domain names. This process is the same as the one used to configure a CNAME record to point to your web site, except that you configure the CNAME record domain names that will be used for verification purposes.

For example, using the Microsoft sample domain contoso.com, the hostname will be awverify.www.contoso.com and the value will be awverify.contoso.azurewebsites.net. The second hostname will be awverify.contoso.com Once this has propagated, you can configure the A record.

As you see this is a bit different compared to the original instructions. The original instructions omit the fact that not only the http://www.yourdomain.com domain needs verification but also the yourdomain.com domain!

Have fun, and let me know your comments!

Advertisements

About Maarten van Stam
I'm a Software Engineer, working at one of the top 3 accounting firms. Technology watcher, always looking for news and trends on technology. Received 13 Microsoft MVP Awards.. "My work is my hobby/my hobby is my work" - so you can find me almost at any time near a computer. If I'm not there it's most likely that I spend my time with my family - wife (undisclosed ;-) ), daughter (15) and son (13).

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: