How to Dynamically Create Subdomains for Tenants in a Next.js App Hosted on AWS Amplify?
I am developing a multi-tenant app and want to provide custom subdomain URLs to my users. In the AWS Amplify console, I have configured a domain and need a way to manage subdomains dynamically for each tenant when they register within my app. Specifically, I am looking for a solution to create <tenant.domain> URLs for my Next.js app hosted on AWS Amplify.