Skip to content

route 53 alias problem

0

route 53 returns a weird response that the web browser cannot understand, I cant create a route because of this, please assist me how to fix this issue

<?xml version="1.0" encoding="UTF-8"?>
<ListAllMyBucketsResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Owner><ID>28b1e82f8df87868637a287402447a417303db6eef446d0764db7b0b438f772d</ID></Owner><Buckets><Bucket><Name>--NAME--</Name><CreationDate>2024-10-18T02:28:44.000Z</CreationDate></Bucket></Buckets>

Enter image description here

asked 2 years ago219 views

1 Answer
0
Accepted Answer

The issue you're experiencing is not directly related to Route 53, but rather seems to be a problem with your S3 bucket configuration. The XML response you're seeing is actually an S3 bucket listing, which indicates that your S3 bucket is not properly configured for website hosting.

To resolve this issue:

  1. Ensure that you have enabled static website hosting on your S3 bucket. You can do this in the S3 console under the bucket's properties.

  2. Make sure you have set an index document (like index.html) in the static website hosting settings.

  3. Check your bucket policy to ensure it allows public read access if this is a public website.

  4. When creating the Route 53 record, make sure you're using the S3 website endpoint as the alias target, not the regular S3 bucket endpoint.

  5. Verify that your Route 53 record is set up as an alias record pointing to the S3 website endpoint, not directly to the S3 bucket.

  6. Double-check that the name of your S3 bucket matches exactly with the domain name you're trying to use in Route 53.

If you've confirmed all these settings and are still having issues, you may need to clear your browser cache or wait for DNS propagation to complete, which can take up to 48 hours in some cases.

Remember, when setting up a static website with S3 and Route 53, it's crucial to use the S3 website endpoint, not the regular S3 endpoint. This ensures that the proper HTML content is served instead of the XML bucket listing you're currently seeing.
Sources
issue with route 53 | AWS re:Post
Error 403 - Route53 | AWS re:Post

answered 2 years ago

EXPERT

reviewed 2 years ago

  • Thank you for the articles, it turns out that I forgot to enable Static website hosting section under Properties tab

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.