Mobile app version of vmapp.org
Login or Join
Michele947

: How can I add a custom domain to a Windows Azure application? I'm experiencing some issues with a website I am working on, for a company called BlueSEQ. We recently switched to Windows Azure

@Michele947

Posted in: #Azure #Cloud #Dns

I'm experiencing some issues with a website I am working on, for a company called BlueSEQ. We recently switched to Windows Azure to get more scalability and performance, but we are having issues regarding the domains.

We would like blueseq.com to be the main domain instead of the current blueseqservice.cloudapp.net. Is that possible? I tried making an "A" record pointing to the "VIP" of the Windows Azure service, but whenever I republish the project to Azure, I get a new IP.

Any suggestions?

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Michele947

3 Comments

Sorted by latest first Latest Oldest Best

 

@Cooney921

Azure websites and Azure web services now offer A record support for domains as default. They didn't at the time of writing the original question.

That's a good thing!

10% popularity Vote Up Vote Down


 

@Kevin317

Apparently you can - Azure now supports A Records as it provides fixed IP addresses:


With an A record, you map a domain (e.g. contoso.com or
contoso.com) or a wildcard domain (e.g. *.contoso.com) to the IP
address of a deployment within a Windows Azure hosted service.
Accordingly, the lifetime of this IP address is the lifetime of a
deployment within your hosted service.

The IP address gets created the first time you deploy to an empty
slot (either production or staging) in the hosted service and is
retained by the slot until you delete the deployment from that slot.


See this link for more information - Section: Expose Your Application on a Custom Domain

Just tested it with one of my own domains and a sample Azure app in staging. - Works a treat!

I found when you use the Swap VIP option, to move from staging to production, your staging IP address gets taken with you. This meant I retained the staging website pointed at by my A record after republishing and after swapping to Production. The downside to this is that your domain points at staging or at production when you swap, which is probably not what you wanted as your domain would likely only point at production. A CNAME record will do that, but does not allow for a blank subdomain.

10% popularity Vote Up Vote Down


 

@Holmes151

You need to create a cname record on your DNS host and forward it to blueseqservice.cloudapp.net. A cname behaves like an A record but rather than forwarding to an ip, it targets a fqdn.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme