Serve multiple website hosted on s3 via Cloudfront and Lambda@edge
You have two domains ( example1.com and example2.com) served by a single CloudFront distribution. Both domains' content is hosted in separate S3 buckets. You want to use a Lambda@Edge function to inspect incoming requests and route them to the correc...
clouddemon.hashnode.dev3 min read