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?

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠