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

1 Answer
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
EXPERT
kentrad
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions