You can now host your static website at Amazon S3. For example, when people visit www.example.com they will land in your Amazon S3 account. But what happens when people visit example.com (without the “www”)? Here’s the solution…
If you haven’t already, get background info over at the blog of Werner Vogel.
Now on with the rest of this blog post…
Get a good domain name registrar that has DNS Management.
This means your nameservers will point to the special nameservers of your domain registrar.
You will then need to create a CNAME record for www.example.com and the value will be:
This assumes your Amazon S3 bucket (called www.example.com) is hosted in the US Standard server.
US West (Northern California): s3-website-us-west-1.amazonaws.com
EU (Ireland): s3-website-eu-west-1.amazonaws.com
Japan: (still searching for this one)
Using your Domain Name Registrar, create a URL redirect.
Redirect example.com to www.example.com
If you’re using email autoforwards via your Domain Name Registrar, you will need to create firstname.lastname@example.org (or some other subdomain), because if you try to autoforward email@example.com, your domain registrar will tell that there is a conflict with the CNAME and the URL redirects.
Anyway, that’s how you can host your www.example.com static site in Amazon S3 servers.
Alternatively, go ahead and create a new site using a subdomain such as s3.example.com if you want your life to be simpler.
Having an affordable, high-availability website ensures you can serve your customers and potential clients. Plus, your static webpages will surely be displayed as quickly as possible (that’s additional SEO points for you).
If you need a WordPress-powered blog to help you quickly publish articles, then host that outside of Amazon S3 (you can still host the images, MP3 audio files and video clips in Amazon S3). Who says you may only have one website, right?
Free Download: Get targeted traffic to work for YOU right NOW. Guaranteed.
Finally revealed - How to Get a FLOOD of Targeted Visitors To Your Site Daily.
Download your free ebook today at http://morevisitors.com-review.org
"Host Your Static Website At Amazon S3"
First Posted: March 10, 2011 | Filed in: General Web Hosting