Dynamically create new subdomains and point to a cloud front distribution pointing to an s3 bucket

江枫思渺然 提交于 2021-01-29 10:33:21

问题


S3 Bucket in question will have my website files that will be served by a CloudFront distribution. As new customers sign up (It is a multi-tenant serverless application), new subdomains will be created dynamically (not * wild card operator as we wish to serve only valid subdomains associated to customers or redirect to root domain). The website is being served from the same CloudFront distribution/ S3 bucket.

How can I dynamically create new subdomains and point to a cloud front distribution pointing to an s3 bucket?

Is this the right way to do it?

来源:https://stackoverflow.com/questions/65605178/dynamically-create-new-subdomains-and-point-to-a-cloud-front-distribution-pointi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!