Our domain example.com is hosted on GoDaddy. I've followed the links to migrate the aa.example.com subdomain to AWS Route 53.
https://devcenter.heroku.com/articles/route-53#nakedroot-domain
Heroku redirect from example.com to www.example.com retaining HTTPS using AWS
- Consider aa is an application which is running on Heroku.
- Created a hosted zone for aa.example.com on Route53 and specified the NS entries in GoDaddy.
- Created the S3 bucket with same name as hosted zone (bucket name - aa.example.com)
Update aa.example.com S3 bucket with this
"Static website hosting" with
"Target bucket or domain" => "www.aa.example.com"
"protocol" => "https"
- Go to "aa.example.com" hosted zone created CNAME record to point Heroku DNS target (www.aa.example.com pointed it to Heroku DNS target)
- Create A record alias point to S3 target
www.aa.example.com (is working) Where as aa.example.com is not working?
Can somebody help me what is wrong in this step? Appreciate your help!