How do I set up an A record for an Azure website or web role?

We want to host a website on Windows Azure, and it can technically be a website or a web role, we are not particularly interested. Is there a way to set an A record for any of them?

It seems that shared websites do not support DNS records at all, and that reserved instances only support CNAME. Does web roles support type A DNS records?

If not, how do Azure real-world deployments handle this? It is absolutely imperative for our website to serve both www.example.com, and example.com.

+3
source share
3 answers

[] 9.17.2012 A azure-web-sites, - Windows Azure WindowsAzure.com


, CNAMEs.

azure, .

DNSAzure, , . , , .

+6

A- -. - , .

, (production/staging), IP-, , . , A IP-, IP-.

Windows Azure:

, , IP- , , IP- . , IP- ( ) Windows Azure: VIP- .

+4

, . CNAME DNS ( 53),

*.example.com to example.cloudapp.net

. () .

301 , IP-.

A record for example.com to server IP 

IIS

HTTP redirect (permanent 301)

, . ... example.cloudapp.net! , , , , , - ( )...

Then ... just about to throw a towel in horror and buy an unnecessary hosting / service ... I came across a fantastic wwwizer.com

And joy after a minute everything is sunny again

+2
source

All Articles