Multiple CNAME pointing to one CloudFront distribution

0

I am hosting a CloudFront distribution pointing to a backend for my service (app.example.com). I have a multi-tenant system where I also provide other users the ability to point their sites to ours (service.anotherexample.com). I would like to add multiple CNAMES to the CloudFront distribution, but due to the fact that each CNAME needs to share one SSL certificate, we are unsure on how to proceed. We have the individual certificates for all of these sites, but there does't seem to be an option to assign multiple.

Here is an example of what we want to achieve with CloudFront:

service.anotherexample.com
                                 --->        app.example.com 
test.athirdexample.com             

where we have the SSL certificates for anotherexample.com and athirdexample.com, but not one certificate to cover three unique domains.

Any help would be appreciated. Thanks in advance!

1回答
2
承認された回答

You can serve multiple domains from an Amazon CloudFront distribution over HTTPS: https://repost.aws/knowledge-center/multiple-domains-https-cloudfront#

profile picture
エキスパート
回答済み 5ヶ月前
profile picture
エキスパート
レビュー済み 5ヶ月前
profile picture
エキスパート
Steve_M
レビュー済み 5ヶ月前
  • This requires an SSL certificate to cover every domain. Do we need to request a certificate applicable to every hostname that we intend to use?

  • This can be done using one certificate with multiple Subject Alternative Names (SAN).

  • Understood, thank you for your assistance.

  • There appears to be a 10 domain limit on the multiple SAN certificates that AWS provides. In the scenario that we need to deal with up to 50 domains, is there a feature for CloudFront similar to the Elastic Load Balancer where we can attach multiple certificates?

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ