如何使用 Big Cartel 设置 AWS Route 53 域
how to set up AWS Route 53 domain with Big Cartel
我用 Route 53 购买了一个域,但我不知道如何将它设置为 Big Cartel 的自定义域。 The Big Cartel instructions are as follows:
1) Create or edit a CNAME record with your DNS provider:
Log in to your DNS provider’s control panel. From there, you’ll want to edit
your DNS settings. You’ll be able to do this from the DNS manager,
zone file settings, advanced forwarding, or whatever other weird thing
your DNS company calls it. This is where you will edit or add a CNAME
record. You’ll either create a CNAME record for www or you’ll need to
edit the CNAME record if one already exists. Enter the following:
Alias: www
Type: CNAME
Points to: enter the full URL of your store (ex: mybigcartelstore.bigcartel.com)
2) Redirect to www:
Time to redirect your non-www URL (ex: mycustomdomain.net) to the
www URL (ex: www.mycustomdomain.net) with a 301 redirect. In the
domain forwarding section of your selected domain, select forwarding
only or a 301 redirect without masking.
在 Route 53 托管区域部分,我有一条 CNAME 记录,但我在 Value:
中输入了我的 bigcartel.com 地址,我不确定那是否正确(它应该是别名吗? ).
我不知道如何执行第 2 步,即 301 重定向(类型:PTR?别名:否?值:mystore.bigcartel.com?)。
非常感谢任何帮助,谢谢。
根据记忆,这是您需要的步骤...
在 Route53 中设置 CNAME 以指向您商店的 URL,例如mystore.bigcartel.com。这会处理 www 请求。
对于域顶点,例如mycustomdomain.net 您需要将 S3 存储桶设置指向网站。
在 S3 存储桶中,您将需要默认文件来执行 301 重定向到 www 地址。
(请注意,如果您想为 apex 请求执行 https,您需要在 S3 前面使用云端)
终于明白了。这就是我所做的。请注意,您不需要 SSL/cloudfront w bigcartel,因为它们在其端提供 SSL。
1.在 S3 中:
-用你的店名做一个桶 (mystore.com) (没有 www)
-启用public访问
-在permissions -> bucket policy,粘贴这段代码让别人看到你的bucket,把resource后面的url改成你对应的域
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadGetObject",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::mystore.com/*"
}
]
}
-在属性选项卡中,在 "Static website hosting"、select "Redirect requests"
下
——在目标桶中,写www.mystore.com,注意www.
-协议:http
2) 53 号公路:
-为 www.mystore.com
做一个 CNAME 记录
-别名:无
-值:mystore.bigcartel.com
3) 53 号公路:
-为mystore.com做一个A记录(没有www)
-别名:是
-别名目标:如果 AWS 没有像我那样自动填充您的 S3 存储桶,请在其中输入没有您的域名的 s3 url。例如,我的 s3 存储桶称为 mystore.com,因此 URL 端点是 mystore.s3-website-us-east-1.amazonaws.com。只需将这部分“s3-website-us-east-1.amazonaws.com”放入 Alias target
事后看来,我应该选择 google 个听起来简单得多的域。
我用 Route 53 购买了一个域,但我不知道如何将它设置为 Big Cartel 的自定义域。 The Big Cartel instructions are as follows:
1) Create or edit a CNAME record with your DNS provider: Log in to your DNS provider’s control panel. From there, you’ll want to edit your DNS settings. You’ll be able to do this from the DNS manager, zone file settings, advanced forwarding, or whatever other weird thing your DNS company calls it. This is where you will edit or add a CNAME record. You’ll either create a CNAME record for www or you’ll need to edit the CNAME record if one already exists. Enter the following:
Alias: www
Type: CNAME
Points to: enter the full URL of your store (ex: mybigcartelstore.bigcartel.com)
2) Redirect to www: Time to redirect your non-www URL (ex: mycustomdomain.net) to the www URL (ex: www.mycustomdomain.net) with a 301 redirect. In the domain forwarding section of your selected domain, select forwarding only or a 301 redirect without masking.
在 Route 53 托管区域部分,我有一条 CNAME 记录,但我在 Value:
中输入了我的 bigcartel.com 地址,我不确定那是否正确(它应该是别名吗? ).
我不知道如何执行第 2 步,即 301 重定向(类型:PTR?别名:否?值:mystore.bigcartel.com?)。
非常感谢任何帮助,谢谢。
根据记忆,这是您需要的步骤...
在 Route53 中设置 CNAME 以指向您商店的 URL,例如mystore.bigcartel.com。这会处理 www 请求。
对于域顶点,例如mycustomdomain.net 您需要将 S3 存储桶设置指向网站。
在 S3 存储桶中,您将需要默认文件来执行 301 重定向到 www 地址。
(请注意,如果您想为 apex 请求执行 https,您需要在 S3 前面使用云端)
终于明白了。这就是我所做的。请注意,您不需要 SSL/cloudfront w bigcartel,因为它们在其端提供 SSL。
1.在 S3 中:
-用你的店名做一个桶 (mystore.com) (没有 www)
-启用public访问
-在permissions -> bucket policy,粘贴这段代码让别人看到你的bucket,把resource后面的url改成你对应的域
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadGetObject",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::mystore.com/*"
}
]
}
-在属性选项卡中,在 "Static website hosting"、select "Redirect requests"
下——在目标桶中,写www.mystore.com,注意www.
-协议:http
2) 53 号公路:
-为 www.mystore.com
做一个 CNAME 记录-别名:无
-值:mystore.bigcartel.com
3) 53 号公路:
-为mystore.com做一个A记录(没有www)
-别名:是
-别名目标:如果 AWS 没有像我那样自动填充您的 S3 存储桶,请在其中输入没有您的域名的 s3 url。例如,我的 s3 存储桶称为 mystore.com,因此 URL 端点是 mystore.s3-website-us-east-1.amazonaws.com。只需将这部分“s3-website-us-east-1.amazonaws.com”放入 Alias target
事后看来,我应该选择 google 个听起来简单得多的域。