I have followed the steps outlined in the AWS tutorial titled "Configuring a static website using a custom domain registered with Route 53." However, when I search for www.example.com, the static website bucket that I need is displayed. Unfortunately, the URL displayed is in this format: http://example.com.s3-website.eu-south-1.amazonaws.com/, rather than example.com.
What steps can I take to fix this issue?
For reference, here is the link to the relevant AWS documentation: https://docs.aws.amazon.com/AmazonS3/latest/userguide/website-hosting-custom-domain-walkthrough.html#root-domain-walkthrough-configure-bucket-permissions.
I have followed the steps outlined in the AWS tutorial