I migrated domains from a service provider (ipage) to godaddy. The hosting has been setup on AWS S3. I have done such things before and they worked. However this time I'm hitting a redirect loop between
mydomain.com when I try to visit it via the browser.
Things I have done include:
1- Create and configure s3 bucket for mywebsite.com. The corresponding S3 url is X
2 - Create and configure s3 bucket for www.mywebsite.com and redirect it to bucket created in step 1 using S3 bucket properties.
3 - Add a CNAME record pointing www to X (from step 1).
4 - Add forwarding to the top level domain (mydomain.com) to direct to www.mydomain.com
nslookup www.mydomain.com Server: 127.0.1.1 Address: 127.0.1.1#53 Non-authoritative answer: www.mydomain.com canonical name = mydomain.com.s3-website-ap-southeast-1.amazonaws.com. mydomain.com.s3-website-ap-southeast-1.amazonaws.com canonical name = s3-website-ap-southeast-1.amazonaws.com. Name: s3-website-ap-southeast-1.amazonaws.com Address: 188.8.131.52 nslookup mydomain.com Server: 127.0.1.1 Address: 127.0.1.1#53 Non-authoritative answer: Name: mydomain.com Address: 184.108.40.206