Search code examples
firebasefirebase-hosting

What is the best way to implement dynamic subdomains in a firebase project?


I want to add a custom subdomain dynamically for the accounts of my firebase project. I am using firebase hosting and was wondering if there is any way to achieve this?

acompany.myapphostedwithfirebase.com
bcompany.myapphostedwithfirebase.com
ccompany.myapphostedwithfirebase.com

Solution

  • There is no public API for this. All configuration must go through the console as described in the documentation. If you would like to see some possibility of automating this, file a feature request with Firebase support.