如何在Azure Linux VM上为Node.js应用托管设置自定义域名 [英] How to set custom domain name for nodejs app hosting on azure linux VM
问题描述
我正在Microsoft Azure上托管我的nodejs项目.现在我想做自定义域名,但我不知道该怎么做,我有外部go daddy域名.
I am hosting my nodejs project on microsoft azure. Now i wanted do custom domain but i don't know how to do, I have external go daddy domain.
目前,我的项目在azure vm的默认DNSName.southindia.cloudapp.azure.com域上运行,现在我想更改goDaddy域.我该怎么做,有人可以帮忙吗
Presently my project running on azure vm's default DNSName.southindia.cloudapp.azure.com domain, now I wanted to change my goDaddy domain. How can I do that, Can anyone help to do this
下面是我的虚拟机配置.
below is my vm's configuration.
推荐答案
根据您的描述,我们可以添加一条记录以将您的域名映射到该VM的公共IP地址,或者您可以添加 CNAME ,以将您的域名名映射到该虚拟机的DNSName.southindia.cloudapp.azure.com.
According to your description, we can add A record to map your domain name to this VM's public IP address, or you can add CNAME to map your domian name to this VM's DNSName.southindia.cloudapp.azure.com.
关于添加A记录.
有关添加记录的更多信息,强文本,请参阅此链接.
More information about add a record, strong textplease refer to this link.
这篇关于如何在Azure Linux VM上为Node.js应用托管设置自定义域名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!