Apostol Apostolov

Practical thoughts about software

Configuring Azure Website Domain

A while ago I wrote about how to configure Azure website’s domain. That information however is a little outdated after the publishing of the new features of Windows Azure. I’ll now explain how to configure a A-record domain name for an Azure Website.

The domain for an Azure website could be configured only if the website is either in Shared on Reserved instance in Azure. So the first thing to setup is that. Go to “Scale” tab in the website’s properties and choose “Shared” or “Reserved” box under “Web Site Mode”.

web-site-mode

After that you must go in the “Manage Domains” button in the bottom of the page  and add the domain name you want to register under “Domain Names” label.

domain-name-and-ip

From this screen you must also copy the IP Address provided under “THE IP ADDRESS TO USE WHEN CONFIGURING A RECORDS” label.

After that you must go to your Domain provider and configure a A-record key that points to the IP you’ve copied from the Azure portal. I’m using a service called DNSimple to manage my domain names which I found through a recommendation by Scott Hanselman on one of his latest podcasts. I find the service very nice. Far better from other providers I’ve used.

The key for the A Record should look like the first row in this picture:

domain-keys

Also you could configure a URL redirect(the second row from the picture above) from your base URL to your “www.” URL like I did so that if someone wants to type “http://apostol-apostolov.com” they’ll be automatically redirected to “http://www.apostol-apostolov.com” or if you want the base URL to be your main one you could configure the base URL as A record and the ”www.” URL as a redirect to you base URL.

And that is all. We’ve now configured a domain with A Record pointing to a Windows Azure Website.

Tags:

Posted By: Apostol Apostolov

Published at

Originally posted at

Comments

No comments posted yet.