Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dynamically add subdomain to Firebase hosting

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?

like image 457
jloosli Avatar asked Oct 30 '25 16:10

jloosli


1 Answers

There is no API to add subdomains to dynamic hosting, nor is there a way to do wildcard mappings.

like image 177
Frank van Puffelen Avatar answered Nov 03 '25 23:11

Frank van Puffelen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!