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 Answers
0

http://knowyoursubject.com/index.html

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

AWS
answered 2 years ago
  • 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
answered 2 years ago

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.

Guidelines for Answering Questions