Azure DNS hostname or IP reference in web.config? -
when connecting azure services in applications, preferable use dns hostname or ip?
for example, have sql server hosted in virtual machine. should configure web.config 168.63.xxx.xxx
or mysqlserver001.cloudapp.net
?
thanks
there no recommended
strategy. while there unofficial statement public ip address of deployed cloud service (including virtual machine) not change until deleted (all vms same cloud service deleted, or paas deployment deleted), refrain relying on if can. can refer this blog post , links refers dilemma of "fixed ip address".
i use dns name. use own domain name, cname-d xxx.cloudapp.net domain.
Comments
Post a Comment