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
demandé il y a 3 mois153 vues
1 réponse
0
Réponse acceptée

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
EXPERT
répondu il y a 3 mois
profile pictureAWS
EXPERT
vérifié il y a 3 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions