Knowledge Center Monthly Newsletter - March 2025
Stay up to date with the latest from the Knowledge Center. See all new and updated Knowledge Center articles published in the last month and re:Post’s top contributors.
我想通过基于 HTTPS 的 Amazon CloudFront 分配为多个域提供服务。
要通过基于 HTTPS 的 CloudFront 为多个域提供服务,请将以下值添加到您的分配设置中:
对于每个域名,配置您的 DNS 服务,以便备用域名将流量路由到 CloudFront 域名进行分配。例如,配置 example1.com 和 example2.com,将流量路由到 d111111abcdef8.cloudfront.net。
**注意:**无法使用 CloudFront 根据备用域名路由到特定源。CloudFront 原生支持仅根据路径模式路由到特定源。但是,您可以使用 CloudFront Functions 或 Lambda@Edge 根据主机标头路由到源。有关详细信息,请参阅在 CloudFront Functions 和 Lambda@Edge 之间进行选择。
分配设置参考
通过添加备用域名 (CNAME) 来使用自定义 URL