Devin Rodriguez
Devin Rodriguez

Reputation: 1164

Prevent subdomains with AWS S3

I am considering moving one of my very static sites to use Amazon's Simple Storage Service. I have read a few articles describing how I can load the files in and set things up so that http://www.example.com/ is directed at those files, but is there a way I can ensure that people who go to http://example.com/ get 301'd to http://www.example.com/?

Upvotes: 2

Views: 181

Answers (1)

Mauvis Ledford
Mauvis Ledford

Reputation: 42334

Just a heads up for those who find this, S3 now support main root domain. You no longer have to do a redirect.

Upvotes: 1

Related Questions