How can I serve multiple domains from a CloudFront distribution over HTTPS?

Last updated: 2021-12-22

I want to serve multiple domains from an Amazon CloudFront distribution over HTTPS. How can I do that?

Resolution

To serve multiple domains from CloudFront over HTTPS, you must add the following values to the settings of your distribution:

  • Enter all domain names in the Alternate Domain Names (CNAMEs) field. For example, to use the domain names example1.com and example2.com, enter both domain names in Alternate Domain Names (CNAMEs).
    Note: Add each domain name on a new line by choosing Add item.
  • Add your SSL certificate that is associated with all domain names. You can add a certificate that is either uploaded to AWS Identity and Access Management (IAM), or requested with AWS Certificate Manager (ACM).

Did this article help?


Do you need billing or technical support?