We’re considering moving the hosting of our multi-tenancy site from Vercel to Netlify. The site will allow users to decide their own subdomains, so we need the following requirements:
- It’s possible to use wildcards for subdomains such as
- It’s possible to create multiple staging environments such as
*.staging-2.comwithout subdomain reserved by the system
As for #1, we could configure DNS, but routing on the Netlify side has been failed. Referring to a past topic, it could be enabled for Pro plans and above, so we’d like to have it enabled.
As for #2, the system automatically assigns subdomains for both Deploy Preview and Branch Deploy, so the subdomain entered by the user must be treated as a sub-subdomain for testing, which makes a difference from the production environment. In Vercel, the same problem has occurred, and we had to create projects for each staging environment and set the same environment variables, which was a complicated operation. Is there any way to achieve this on Netlify, even if the configuration is more complicated?