http://docs.aws.amazon.com/AmazonS3/latest/dev/website-hosti...
Quick guide:
- Create a bucket for each website, named after the domain (e.g. "myproject.mysite.com")
- Turn on static website hosting for the bucket (through the AWS Console)
- Go to your DNS provider and create a "CNAME" record pointing "myproject.mysite.com" to "myproject.mysite.com.s3-website-us-west-1.amazonaws.com" (The AWS Console will give you the exact domain to use here)
- For super-easy deployment, use s3cmd's sync utility (http://s3tools.org/s3cmd-sync) to upload all changed files in your project:
$ s3cmd -v sync ./ s3://myproject.mysite.com/ --acl-public