[英]How can I create a subdomain in AWS Route53 when the parent domain is also configured in Route53?
I have one domain name registered in an AWS Hosted zone. 我在一个AWS托管区域中注册了一个域名。 It comprises of 5 records viz A, SOA, NS (4 ns addresses), MX and CNAME.
它包括5条记录,即A,SOA,NS(4 ns地址),MX和CNAME。 But now, I want to create a Subdomain :
static.domain.com
. 但是现在,我想创建一个Subdomain:
static.domain.com
。 I have read Creating a Subdomain That Uses Amazon Route 53 as the DNS Service without Migrating the Parent Domain article from AWS doc but clearly that is not my case. 我已经从AWS文档中阅读了创建使用Amazon Route 53作为DNS服务而不迁移父域的子域的信息,但显然这不是我的情况。 My domain name is configured in the Route53 itself.
我的域名是在Route53本身中配置的。
So if I have to create a hosted zone for the static.domain.com
and update the NS records in the parent's hosted zone domain.com
then I can just do that but I am confused if that's gonna work or destroy my whole configuration! 因此,如果我必须为
static.domain.com
创建一个托管区域并更新父级托管区域domain.com
的NS记录,那么我可以这样做,但是如果这样做会起作用或破坏我的整个配置,我会感到困惑!
So guys, please tell me how to create the subdomain static.domain.com
when my parent domain domain.com
is also in the Route53? 伙计们,请告诉我当我的父域
domain.com
也位于static.domain.com
时,如何创建子域static.domain.com?
FYI : I am creating this subdomain to serve static content from an s3 bucket which will be configured as an static website and will be aliased against this subdomain static.domain.com
so that all static requests are can be fetched as http://static.domain.com/resources/path/to/dir/image.png
etc. 仅供参考:我正在创建此子域,以从s3存储桶中提供静态内容,该存储桶将被配置为静态网站,并将以该子域
static.domain.com
作为别名,以便可以将所有静态请求提取为http://static.domain.com/resources/path/to/dir/image.png
等。
Thanks very much 非常感谢
All you need to do is create a record set in your Hosted Zone, for your desired sub domain. 您需要做的就是在托管区域中为所需的子域创建一个记录集。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.