I have an application hosted on firebase, which I'm hoping to set up so that each company using the application will log in via their own subdomain (e.g. company-a.example.com, company-b.example.com, etc.). I can do this if I go into the control panel and choose "Connect Domain" under the hosting section and set up each subdomain individually. Is there an API or some way that I can programatically connect these new subdomains?
There is no API to add subdomains to dynamic hosting, nor is there a way to do wildcard mappings.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With