Moving Domain to Route53 plus Hosted Zone but not seeing test webpage.

0

Hi Group, I moved my Domain name (www.knowyoursubject.com) over to AWS from Fasthosts.co.uk, created an S3 Bucket and a html test page. I also created the required A records within Route53 but still after 4 days when I type my domain name into a browser the webpage does not appear. Any suggestions?

2개 답변
0

http://knowyoursubject.com/index.html

I'm able to access the above URL, is the issue still persisting?

AWS
답변함 2년 전
  • Thanks Tim_AWS yes I can see it now. I needed to change over the DNS Name servers to the Amazon ones. They were pointing to the old ones.

0

Hi,

Changing DNS setting or transferring your domain to another DNS service normally takes up to 2 days. You have waited 4 days and your domain is still unavailable on the internet. There are several reasons that can cause your domain not to be reachable via internet. There could be something wrong with your DNS transfer or the way you configured your S3 bucket to host the website. Did you change your DNS service when transferring your domain? If so, did you specify the right name servers that will respond to DNS queries? Please refer to this documentfor more information.

To route traffic to an S3 bucket using Route 53, you create a record that points to your bucket. Note that your bucket name must be the same as your domain or subdomain. By default S3 block public access. Therefore, you have to allow public access for your website to be accessible over the internet. However, when you turn off the block public option on your S3. Your bucket and its content can be accessible by anyone on the internet. So you will have to put some bucket policy in place to only allow read access to the public. You can use the following bucket policy to grant read only access to your bucket object:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "PublicReadGetObject",
            "Effect": "Allow",
            "Principal": "*",
            "Action": [
                "s3:GetObject"
            ],
            "Resource": [
                "arn:aws:s3:::Bucket-Name/*"
            ]
        }
    ]
}

To further restrict access to your bucket and its resources, please refer to this article.

Resources:

  1. Configuring a static website
  2. Routing traffic to a website that is hosted in an Amazon S3 bucket
  3. Domain is unavailable on the internet
Cebi
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠