Login to the Azure portal, select your cloud service, look at the Overview section and then find the Site URL entry. domain name assigned to your cloud service. Each registrar has a similar but slightly different method of specifying a CNAME record, but the concepts are the same. To create a CNAME record, you must add a new entry in the DNS table for your custom domain by using the tools provided by your registrar. Add a CNAME record for your custom domain For more information on performing these actions, see How to manage cloud services. The IP address used by your Cloud Service is allocated the first time you deploy to an empty slot (either production or staging.) If you delete the deployment for the slot, the IP address is released by Azure and any future deployments to the slot may be given a new IP address.Ĭonveniently, the IP address of a given deployment slot (production or staging) is persisted when swapping between staging and production deployments or performing an in-place upgrade of an existing deployment. Since an A record is mapped to a static IP address, it cannot automatically resolve changes to the IP address of your Cloud Service. service automatically, so if the IP address of the cloud service changes, you do not have to take any action. The CNAME entry will resolve to the IP address of your. Once created, the CNAME creates an alias for the. domain name of your Azure hosted application. In this case, the canonical domain name is the. CNAME or Alias recordĪ CNAME record maps a specific domain, such as or to a canonical domain name. There are also some specific considerations when using A records with Azure Cloud services that you should consider before deciding which to use. Understand CNAME and A recordsĬNAME (or alias records) and A records both allow you to associate a domain name with a specific server (or service in this case,) however they work differently. Get going faster-use the NEW Azure guided walkthrough! It makes associating a custom domain name AND securing communication (TLS) with Azure Cloud Services or Azure Websites a snap.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |