I have:
1) signed up for an aws account
2) set up buckets for domain.com and www.domain.com
3) enabled website settings in properties for each domain
3) set bucket policies for both domains
4) created this cname record:
www > www.domain.com.s3-website-us-east-1.amazonaws.com
Right now when a user goes to www.domain.com, they see the index page, and everything is working just fine. When they go to domain.com, there is nothing but darknenss and silence because the page just doesn't load (and gives 'connection timeout' error. )
What I want is for domain.com to forward to www.domain.com so that no matter what the user types in the browser, they see the site that is located at www.domain.com.
- How do I make this work?
- Can I add a record of some kind at godaddy to make domain.com redirect to www.domain.com?
- Do I have to get a static ip to make this work using s3? I keep reading about an elastic ip from ec2, but I am not understanding how I can set that up, or how it would work since I am not using ec2 at all for my website.
Please help a newbie out!