How to set a custom domain for Azure Virtual Machine?

后端 未结 1 1871
旧巷少年郎
旧巷少年郎 2021-01-27 15:25

I have an Azure Virtual Machine which has myvmname.northeurope.cloudapp.azure.com set as a DNS name. I want it to be something like somename.my.domain.com

相关标签:
1条回答
  • 2021-01-27 15:35

    Azure VM has a default FQDN that you only could change the DNS label. If you want to add your own custom domain for that Azure VM, you could add a CNAME type DNS record like somename.my.domain.com CNAME myvmname.northeurope.cloudapp.azure.com or A type record like somename.my.domain.com A your Azure VM public IP address in your DNS domain my.domain.com provider.

    You also could select to host your domain in Azure DNS, then you can manage your DNS records on Azure portal. See this blog for more details.

    0 讨论(0)
提交回复
热议问题