laurilehmijoki / s3_website

Manage an S3 website: sync, deliver via CloudFront, benefit from advanced S3 website features.
Other
2.24k stars 187 forks source link

Multiple Alternate Domain Names in cloudfront #212

Closed xtuc closed 8 years ago

xtuc commented 8 years ago

I have multiple CNAME in a cloudfront distribution. I've tried to put all my domain in a string separated with commas but the AWS API rejected it.

Thanks in advance, Sven.

laurilehmijoki commented 8 years ago

Hi! Will https://github.com/laurilehmijoki/s3_website/blob/master/additional-docs/example-configurations.md help you? There's doc on multiple CNames.

xtuc commented 8 years ago

Much thanks, it works. I think you should add a link into the root README.

On AWS console, the CName input allows commas separated values. The CloudFront API doesn't seems to support it.

laurilehmijoki commented 8 years ago

Thanks for the feedback. Care to submit a PR on the readme amendment?