[英]using google domains when hosting static site on aws s3
I've set up many static sites on AWS/S3 with other domain registrars; 我在AWS / S3上与其他域名注册商建立了许多静态站点; however, google domains is giving me some issues.
但是,谷歌域名给了我一些问题。
Steps I've taken: 我采取的步骤:
-on S3/AWS: -on S3 / AWS:
created bucket policy for domainname.org as follows: 为domainname.org创建了桶策略,如下所示:
{ "Version": "2012-10-17", "Statement": [ { "Sid": "AddPerm", "Effect": "Allow", "Principal": " ", "Action": [ "s3:GetObject" ], "Resource": [ "arn:aws:s3:::domainname.org/ " ] } ] } {“Version”:“2012-10-17”,“Statement”:[{“Sid”:“AddPerm”,“Effect”:“Allow”,“Principal”:“ ”,“Action”:[“s3: GetObject“],”资源“:[”arn:aws:s3 ::: domainname.org/ “]}]}
on google domains side 在谷歌域名方面
I can see the site at that endpoint but it is not redirecting/mapping to the domainmae.org as expected. 我可以在该端点看到该站点,但它没有按预期重定向/映射到domainmae.org。 Usually, this set-up would be enough with other registrars
通常,这种设置对其他注册商来说已经足够了
What am I missing? 我错过了什么? How do you properly set up static site hosting on S3/AWS while using google domains ?
在使用谷歌域名时如何在S3 / AWS上正确设置静态站点托管?
Thank you for your help ! 谢谢您的帮助 !
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.