My domain record in Route 53 that points to an Amazon S3 bucket or static website is not resolving

0

Fllowing the following tutorial:

https://docs.aws.amazon.com/AmazonS3/latest/userguide/website-hosting-custom-domain-walkthrough.html

I registered a domain using AWS, my domain is visas-easy.com. After that, I created an S3 bucket(visas-easy.com) static website and another bucket for the subdomain(www.visas-easy.com).

S3 bucket works fine with url: http://visas-easy.com.s3-website-us-west-2.amazonaws.com/

Then I created a hosted zone for both S3:

Record name Type Routing policy Differentiator Value/Route traffic to

visas-easy.com A Simple - s3-website-us-west-2.amazonaws.com.

visas-easy.com NS Simple - ns-1171.awsdns-18.org. ns-627.awsdns-14.net. ns-375.awsdns-46.com. ns-1618.awsdns-10.co.uk.

www.visas-easy.com A Simple - s3-website-us-west-2.amazonaws.com.

When I try to go to the site(http://visas-easy.com, www.visas-easy.com, http://www.visas-easy.com, visas-easy.com), result is:

This site can’t be reached Check if there is a typo in www.visas-easy.com. DNS_PROBE_FINISHED_NXDOMAIN

I deleted my browser cache and tried 3 different browsers (edge, safari, chrome) with the same result.

已提问 1 年前653 查看次数
2 回答
0

I assume that you have created a public hosted zone on Route 53. You need to create an alias record that points to your S3 bucket . Summary of the required actions:

  • Enter the domain name that you want to use to route traffic to your S3 bucket. The default value is the name of the hosted zone.

  • Choose Alias to S3 website endpoint, then choose the Region that the endpoint is from.

  • Choose the bucket that has the same name that you specified for Record name. The list includes a bucket only if the bucket meets the following requirements:

      The name of the bucket is the same as the name of the record that you're creating.
    
      The bucket is configured as a website endpoint.
    
      The bucket was created by the current AWS account.
    
  • Record type : Choose A – IPv4 address.

  • Evaluate target health

Can you confirm you did all these steps?

AWS
mojtoth
已回答 1 年前
  • I have the same issue and I have tried this solution and I am still with no luck. I have 2 other sites that are working as expected and I'm not able to get the 3rd site running. I have followed many solutions and still no luck. What could it be??

  • i too have the same issue. the s3 bucket website endpoint link is not showingup in the dropdown list to add. tried many ways. still no luck. any solutions ??

  • I have done these steps and it still is resulting in the same error for me

0

Were you able to find a solution to this problem? I am experiencing the same issue and have not found a solution yet. Thank you!

已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则