Reputation: 1
Can anyone tell me how can i add more subdomains in AWS AMPLIFY? It has max hard limit of 50 subdomains per app. I am going to add 1000s of subdomains. i need to kee[p amplify working and add subdomains. i cant add just cname in route53. cname can't work because those cnames are related to cloudfront and cloudfronts are being managed by amplify itself.if i add subdomain in Amplify then amplify gives instructions to cloudfront and then it works. Otherwise it won't if i manually add subdomain in route53 only
Upvotes: 0
Views: 1202
Reputation: 181
Note that the limitation of 50 subdomains is specific to within the current region
However, the FAQ for Amazon Route 53 states:
Also see:
Routing traffic for subdomains
Routing traffic for additional levels of subdomains
"You route traffic to a subdomain of a subdomain, such as backend.acme.example.com, the same way that you route traffic to a subdomain, such as acme.example.com. Either you create records in the hosted zone for the domain, or you create a hosted zone for the lower-level subdomain, and then you create records in that new hosted zone. "
"If you choose to create a separate hosted zone for the lower-level subdomain, create the NS record for the lower-level subdomain in the hosted zone for the subdomain that is one level closer to the domain name. This helps to ensure that traffic is correctly routed to your resources."
Upvotes: 1