2

I am having a problem getting my CNAME and A records right.

Assumptions:

  • Azure Name : MyApplication.cloudapp.net
  • GoDaddy DomainName : MyDomain.com

I want both www.mydomain.com and mydomain.com to go to the same place. What is happening is that only www.mydomain.com works and whenever I use mydomain.com it doesn't work on Chrome (but it works fine in Firefox).

I have added a CNAME record like this:

Host = www                
PointsTo = MyApplication.cloudapp.net

As we all know Azure IP address change so I couldn't use the A (Host) record, instead I can only use CNAME (Alias).

Any thoughts on this, I am sure this is a common problem with Azure and GoDaddy (or other hosts)?

Ben Pilbrow
  • 11,995
  • 5
  • 35
  • 57
Raha
  • 121
  • 4

1 Answers1

2

Your IP address in Windows Azure remains the same unless you delete the contents of the deployment. Some hosts allow you to set the root record to a CNAME, whereas others will allow you to automatically redirect. I've not had any experience with GoDaddy so can't help there.

Please see this page about IP lifetime.

Matthew Steeples
  • 1,303
  • 1
  • 10
  • 17