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.
- suppose name of site static.mydomain.com. need create s3 bucket same name, named static.mydomain.com.
- once configure bucket s3 static web site, have url assigned looks http://static.mydomain.com.s3-website-us-east-1.amazonaws.com.
- 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
Post a Comment