Connect Godaddy Subdomain to AWS S3 hosting

AWS S3 Static Website Hosting

  1. In the Amazon S3, click on Create Bucket.

    bucket


  1. Make sure to input the bucket name same with the address name of the subdomain.

    • e.g. Subdomain: demo.example.com = Bucket Name: demo.example.com
  2. Under Properties tab, create the Static website hosting. Add the index and error document and click Save.

  3. Click again the Static website hosting to copy the Endpoint link. aws_s3


Godaddy Domain Management

  1. Go to Godaddy > Domain manager.

  2. Add CNAME

  3. Input the Host the subdomain and paste the S3 endpoint in Point to field. (Refer to the DNS Management screenshot below).

  4. Wait for few minutes to take effect.

dns_management