Delivering my website by cloudfront/S3 and my customers using my service with their domain

0

Hello,

I have a web-product and each one of my customers have a basic web site which, in some cases, proxy their customer's calls to my services, but they would like to mantain their origin domain.

For example: I expose my service frontend by cloudfront with domain test.company.com; my customers expose their website:

  • customer1.com
  • customer2.com
  • customerN.com

During the surfing on customerN.com website, the user clicks a button and customerN.com website proxy the call to test.customerN.com (test.customerN.com is a DNS CNAME managed by the customer which calls a cloudfront exposed by my company via test.company.com)

How do I manage this case? Thank you in advance

Eric R
已提问 1 年前284 查看次数
1 回答
1

Set up a separate CloudFront distribution for each customer all pointing to your service as the origin. You can then set each of the separate domains as the Alternate Domain in each distribution. See: Using custom URLs by adding alternate domain names (CNAMEs).

profile pictureAWS
专家
kentrad
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则