I've set up many static sites on AWS/S3 with other domain registrars; however, google domains is giving me some issues.
Steps I've taken:
-on S3/AWS:
created bucket policy for domainname.org as follows:
{ "Version": "2012-10-17", "Statement": [ { "Sid": "AddPerm", "Effect": "Allow", "Principal": "", "Action": [ "s3:GetObject" ], "Resource": [ "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. 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 ?
Thank you for your help !
You can use Amazon S3 to host a static website. On a static website, individual webpages include static content. They might also contain client-side scripts. By contrast, a dynamic website relies on server-side processing, including server-side scripts, such as PHP, JSP, or ASP.NET.
Is there a way to configure the root of a Google Domain to point to an AWS Elastic Load Balancer simply and painlessly? create a hosted zone for the domain in aws route 53, it'll have a list of name servers. In google domains, point the nameservers to those servers. Then manage your dns in route 53.
Just add a CNAME record pointing to s3.amazonaws.com. (yes, the dot included) ... like this:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With