Firebase hosting: multiple directories to multiple domains

616 views
Skip to first unread message

swa...@semprehealth.com

unread,
Apr 24, 2017, 9:50:39 AM4/24/17
to Firebase Google Group
Hi I have the following setup, and wanted to know how to configure Firebase hosting to best match my needs

I have a static site repo with with a 'build' directory with three subdirectories like:
  • /build/a
  • /build/b
  • /build/c

I'd like to serve /a, /b, and /c each at their own domain (or domains). Specifically, I'd like to be able to:
After looking through docs, it seems like the only way I can do this is by creating a separate Firebase project for every single domain (7 total) and create a separate firebase.json for each directory (3 total)

Is there a better way to do this?

Thanks,
Swaraj

Kato Richardson

unread,
Apr 24, 2017, 1:28:25 PM4/24/17
to Firebase Google Group
Hello Swaraj,

Creating a separate project for each domain would probably be the best option.

☼, Kato

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/661dc213-40f8-42f8-8cea-d19810e81f91%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Kato Richardson | Developer Programs Eng | kato...@google.com | 775-235-8398

Michael Bleigh

unread,
Apr 24, 2017, 4:07:28 PM4/24/17
to Firebase Google Group
This was also posted to StackOverflow: http://stackoverflow.com/questions/43581735/firebase-hosting-with-multiple-directories-at-multiple-domains/43596230#43596230

Please reference an SO post when posting both places to avoid duplication of efforts in answering. :)

To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/661dc213-40f8-42f8-8cea-d19810e81f91%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

Kato Richardson | Developer Programs Eng | kato...@google.com | 775-235-8398

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages