dns - Amazon S3: Static Web Sites: Custom Domain or Subdomain -


amazon.com announced 1 can host static web sites in s3 bucket. went setup page @ http://docs.amazonwebservices.com/amazons3/latest/dev/index.html?websitehosting.html , created bucket static web site, , worked fine. have url of form http://[my bucket name].s3-website-us-east-1.amazonaws.com/.

however, point subdomain own (e.g. static.mydomain.com) static web site @ amazon s3. has figured out how that?

i appreciate can give me.

it turns out make work, cannot map arbitrary subdomain arbitrary bucket. the qualified subdomain name must same s3 bucket name.

  1. suppose name of site static.mydomain.com. need create s3 bucket same name, named static.mydomain.com.
  2. once configure bucket s3 static web site, have url assigned looks http://static.mydomain.com.s3-website-us-east-1.amazonaws.com.
  3. go domain host , map subdomain url step 2. in enom.com, meant mapping host "static" address "static.mydomain.com.s3-website-us-east-1.amazonaws.com" cname record.

thanks uriah , david suggestions. got answer @ amazon aws forum.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -