1 Answer
- Newest
- Most votes
- Most comments
0
Hello.
If the domain settings are correct, please review the settings as shown below.
For S3 static website hosts, the bucket name and domain name must match.
https://docs.aws.amazon.com/AmazonS3/latest/userguide/website-hosting-custom-domain-walkthrough.html
In the case of CloudFront and S3, you will need to check whether the S3 bucket policy is correct.
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html
Relevant content
- asked 3 years ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 4 months ago
Thank you for your reply, Sadly I followed the tutorials you mentioned to the T, the website is running when accessed through the cloudFront link (******.cloudfront.net). On the google Domains side It is configured to use Custom name servers. Is there anything else to do on that end besides adding the 4 servers given by route 53?
Can you use something like the "dig" command to confirm that the NS records can be resolved correctly? If this cannot be confirmed, the NS record may be set incorrectly, or there may be some cache remaining due to TTL, etc.
@Riku when I enter my domain name and do a DNS look up for NS this is what I get :
user-MBP:~ bruce$ dig domain.com ns
; <<>> DiG 9.10.6 <<>> domain.com ns ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6910 ;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 5
;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 512 ;; QUESTION SECTION: ;domain.com. IN NS
;; ANSWER SECTION: domain.com. 172800 IN NS ns-552.awsdns-05.net. domaincom. 172800 IN NS ns-8.awsdns-01.com. domain.com. 172800 IN NS ns-1258.awsdns-29.org. domain.com. 172800 IN NS ns-1771.awsdns-29.co.uk.
The NS record looks fine. By the way, did you set up the CloudFront document below? https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html
No luck, Everything in cloudfront seems to be configured properly. is there any other NS besides these 4 that could would need to be added to google domains? I'm gonna keep playing with it, I am convinced that something is off on google domains end since the other website I created works fine.