Problems with Route 53

0

Hi, I have problems with route 53 and S3 static website. The problem accours when I try to use aliases in A-record. I'm using proper s3 bucket access link like the following "testbucket-website-mats.s3-website.eu-north-1.amazonaws.com". But showing up as not valid.

I can reach the S3 endpoint in browser.

Mats
posta 4 mesi fa166 visualizzazioni
1 Risposta
0
Risposta accettata

It seems there are a couple issues that could be causing the domain record pointing to your S3 static website to not resolve properly.

Make sure the S3 bucket name matches the domain/subdomain name exactly. For example, if your domain is "testbucket.com", the S3 bucket name needs to be "testbucket.com" as well.

Check that the S3 bucket is correctly configured as a static website endpoint. You can find documentation on how to set this up properly at https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteHosting.html.

When creating the Route 53 record, be sure to use an ALIAS record and select the correct S3 website endpoint as the target. The target needs to match the region your S3 bucket was created in.

Test that you can access the S3 website URL directly in your browser, such as "testbucket.com.s3-website-REGION.amazonaws.com". If this doesn't work, the S3 configuration likely needs adjustment.

Double check your Route 53 record configuration matches the above steps exactly. Small differences could cause issues.

profile picture
ESPERTO
con risposta 4 mesi fa
profile pictureAWS
ESPERTO
verificato 4 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande