I’m trying to implement multi-tenency in my application and allowing users to create their own subdomains. Through googling, it seems that PRO would support this use case?
Before I purchase pro, I’d just like to confirm whether I can accomplish either of these solutions:
Preferred solution:
Show xxx.mydomain.com but render my application as if it were mydomain.com/n/xxx. I’m not even sure this makes sense in a SPA context, but this would allow me do not make any changes to my React app as I already support mydomain.com/n/xxx.
Second solution:
Have a wildcard subdomain at *.mydomain.com that redirects all traffic to mydomain.com. I only want to have one netlify application to maintain and have all subdomains redirect to it. I want to keep the URL as *.mydomain.com.
Lastly, would it be possible to have anotherdomain.com point to anotherdomain.mydomain.com?
This ticket seems to indicate no: Wildcard Subdomain
If I did create a new site for each domain, would I be able to use the Netlify API to automate this?