为天蓝色的vm和godaddy配置自定义域名 [英] configuring a custom domain name for an azure vm and godaddy

查看:90
本文介绍了为天蓝色的vm和godaddy配置自定义域名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,最近我开始以天蓝色配置我的VM,我使用nginx部署了4个项目,但是使用Godaddy配置我的VM时遇到问题.要在Godaddy中配置域名,我需要设置至少2个DNS地址,但是我的VM仅具有一个DNS地址.有人可以告诉我如何在我的VM中允许一个以上的DNS地址,或者至少如何绕过此问题并使我的VM与Godaddy正常工作.

hello recently I have started to configure my VM at azure I deployed 4 projects with nginx but I have a problem to configure my VM with godaddy. To configure a domain name in Godaddy, I need to set minimum 2 DNS address, but my VM has only one DNS address. Can someone show me how to allow more than one DNS address in my VM or at least how to bypass this issue and make my VM work fine with Godaddy.

推荐答案

DNS区域用于托管特定域的DNS记录.若要开始在Azure DNS中托管您的域,您需要为该域名创建一个DNS区域.然后,在此DNS区域内创建您域的每个DNS记录.最后,要将您的DNS区域发布到Internet,您需要为该域配置名称服务器.

A DNS zone is used to host the DNS records for a particular domain. To start hosting your domain in Azure DNS, you need to create a DNS zone for that domain name. Each DNS record for your domain is then created inside this DNS zone. Finally, to publish your DNS zone to the Internet, you need to configure the name servers for the domain.

以下步骤介绍了每个步骤:

步骤1::首先创建Azure虚拟机.

Step1: First create the Azure Virtual Machines.

第2步::要获取DNS地址,您需要使用域名创建DNS区域.

Step2: To get DNS addresses, you need create DNS zones with your domain name.

转到Azure门户=>新建=>搜索DNS区域=>创建DNS区域

Go to Azure Portal => New => search DNS zones => Create DNS zones

Name = azurewala.com,订阅,资源组和位置

Name= azurewala.com, Subscription, Resource Group, and Location

步骤3:创建Azure DNS区域后,您将看到四个名称服务器.

Step3: Once Azure DNS zones created you can see four Name Servers.

第4步::转到GoDaddy控制面板,然后单击DNS.

Step4: Go to GoDaddy control panel and click on the DNS.

第5步:通过选择新的名称服务器类型,将名称服务器更改为:自定义

Step5: Change the Nameservers by choose your new nameserver type as: Custom

注意:将名称服务器从Azure DNS复制并粘贴到GoDaddy

Note: Copy and paste the Name Servers from Azure DNS to GoDaddy

并确保在保存之前必须删除多余的点.

And make sure you have to remove the extra dot before you save.

步骤6:打开创建的DNS区域"并添加记录集

Step6: Open Created DNS Zones and add a record set

名称: www
类型: A
TTL: 1小时

Name: www
Type: A
TTL: 1 Hours

IP地址: 52.176.102.178

IP ADDRESS: 52.176.102.178

注意:提供虚拟机的IP地址.

Note: Give IP Address of the VM.

有关更多详细信息,请参考 Azure入门使用Azure门户的DNS

For more details, refer Get started with Azure DNS using the Azure Portal

这篇关于为天蓝色的vm和godaddy配置自定义域名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆