Wildcard subdomains in AWS Amplify

1

So we recently decided to remove server side rendering from our react app to use Amplify, since it provides us all that we need (serverless, high availabilty, speed and no need to test in two different environment setups).

However now I have a question regarding how to configure AWS Amplify to have a wildcard CNAME record. I want that any subdomain can reach my app, not just the ones I manually select in the Amplify Console.

I have a wildcard CNAME pointing to the cloudfront, and the subdomains I added manually in the console are working, but the ones that are not (due to the nature of the wildcard CNAME), just get a 403 from cloudfront.

Is there support for wildcard subdomains in Amplify? How does one configure it? Assuming there is no support for this. Is there an API I can use to create the Amplify subdomains for me?

Thanks,

質問済み 5年前1580ビュー
4回答
2

Four years later, the wildcards are still not available. The ability to configure wildcard subdomains is crucial for the proper functioning and scalability of my application. It allows me to dynamically create subdomains for each tenant, providing a personalized and isolated environment. Unfortunately, the absence of this feature hinders my ability to fully leverage the potential of AWS Amplify for my application's requirements. This enhancement would greatly benefit developers like myself who rely on the platform for multi-tenant applications or any use case that necessitates dynamic subdomain creation. I understand that implementing wildcard subdomain support may involve technical considerations, such as DNS configuration and security concerns. However, this feature has become a standard requirement in modern web applications, and its absence limits the scalability and flexibility of AWS Amplify for a significant number of use cases.

Tecnofy
回答済み 1年前
0

So, today exists another solution? Anybody help me? Thanks!

回答済み 8ヶ月前
0
ravi
回答済み 6ヶ月前
-1
承認された回答

We don't support wildcard subdomains right now. You can programmatically add records by using AWS CLI.
https://docs.aws.amazon.com/cli/latest/reference/amplify/create-domain-association.html

回答済み 5年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ