Meat & Potatoes
You've got your friendly, assigned DNS from Azure - friendlyappname.cloudapp.net ("friendlyappname" being replaced by your actual DNS name). At 50,000 feet, Azure assigns this DNS to your application as a layer of abstraction provided that the Virtual IP addresses (VIPs) of the application change and will prevent any disruption of service. Given this change, Azure is smart enough and will do the leg work of updating its DNS to properly map the new VIPs to the DNS it assigned your application.
Where does this leave you?
Putting It Together
Forwarding the Root Domain
Now you'll want to use domain forwarding to map the root domain (myownfriendlierdomain.com) to the mapped subdomain (www.myownfriendlierdomain.com).
Things That Go FAIL
CNAME records need to map to a specific subdomain: they can't map to the root domain. "www" was used above, but maybe you're application is a forum, you could use "forum".
Secondly, do not wildcard map - "*.myownfriendlierdomain.com".
Summary
- It is possible to configure DNS to an application in the cloud.
- VIPs can change and the Azure assigned DNS name abstracts this to prevent any interruption in service.
- A record to specifc IP is not possible because of VIPs.
- CNAME is the answer.
- Create CNAME mapping - "www", "forum", "blog", et. al.
- Forward root domain to mapping - "www.myownfriendlierdomain.com", "blog.myownfriendlierdomain.com", et. al.
- Always map to subdomain, CNAME cannot map to root levels.
- No wildcard mappings.
No comments:
Post a Comment