本文介绍了AWS负载均衡器的A(主机)记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
点击创建记录集
对于区域顶点记录,只需将名称字段留空
选择您要使用A或AAAA的别名的类型(两种类型之后的所有步骤都相同)
选择是单选按钮.
在另一个选项卡中打开EC2控制台,然后导航到负载均衡器列表.
单击负载均衡器,然后在列表下方的窗格中查看描述选项卡.下面的示例输出
Click create record set
For zone apex record just leave the name field blank
Select the type of alias you want to make A or AAAA (all steps after this are the same for both types)
Select the yes radio button.
Open the EC2 console in another tab and navigate to the list of your load balancers.
Click on the load balancer and look at the description tab in the pane below the list. Sample output below
我对AWS负载均衡器有疑问.
I have a question regarding AWS Load Balancers.
我可以将我的CNAME www完美地指向我的负载均衡器的DNS,并且我知道它将一直有效,但是我还需要将@记录指向负载均衡器,以便人们可以访问mysite而不是www.mysite并点击负载均衡器.
I can point my CNAME www to my load balancer's DNS perfectly and i know it will always work, BUT I also need to point the @ record to the load balancer so people can access mysite instead of www.mysite and hit the loadbalancer.
问题在于A记录必须指向IP地址,因此我无法指向DNS,并且负载均衡器的IP不断变化,因此mysite停止工作.
The problem is that the A Records have to point an IP Address so i can't point to the DNS and the IP of the load balancer keeps changing so mysite stops working.
有人可以推荐我解决此问题的方法吗?
Can anyone recommend me a work around for this?
推荐答案以下是步骤.
更多推荐
AWS负载均衡器的A(主机)记录
发布评论