我是AWS的新手,我正在努力建立子域访问,我的材料是:
aws.tranthanhbao.com点到18.140.2.35点使用A- ipv4。我在53号至18.140.2.35号公路的设置很好:
aws.tranthanhbao.com (http将重定向到https),设置如下

然后,当我们访问dsor8zoqxftko.cloudfront.net时,它工作得很好,但是我检查了域ip,它显示:
因此,我的问题是如何使用cloudfront,而不是链接: http://dsor8zoqxftko.cloudfront.net/应用aws.tranthanhbao.com
发布于 2019-11-04 06:57:25
您可以尝试以下步骤:
18.140.2.35指向其他名称,如origin.tranthanhbao.com origin.tranthanhbao.com --> 18.140.2.35origin.tranthanhbao.com定义为CloudFront的起源而不是aws.tranthanhbao.comaws.tranthanhbao.com的路由记录,选择Alias (A record)并选择CloudFront分发。https://stackoverflow.com/questions/58687789
复制相似问题