Search code examples
firebasefirebase-hosting

Firebase hosting - user custom domain (white-labeling)


I'm using firebase for one of my apps and looking to add functionality where my users can customize the domain name and to use their own instead.

So instead of my app's "example.com/bla" they can update it to "mydomain.com/bla" as a premium branding feature (white-labeling).

Is it possible with firebase hosting/functions and if so how to achieve that?

One of the examples of what I'm looking for can be found here: https://www.surveyhero.com/white-label-surveys?ref=features-table


Solution

  • Just to mark this question as answered, pasting here the comment by Michael Bleigh:

    Firebase Hosting is not well-suited for multi-tenant domain provisioning. Going above 20 domains on a single site is not recommended and can cause provisioning delays and other issues.

    So the answer would be "no, it's not really possible (at least by the moment of writing this answer) since it won't scale past 20 domains."