Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

One domain for two separate Firebase projects

I have two projects. Project A holds my static landing page, and project B holds my Angular app. Is it possible to use one domain name for both projects? Is that the correct approach? Or, can I host both the static landing page and the Angular app under the same project?

i.e., www.foo.com (Landing page), www.foo.com/bar (Angular app)

like image 547
Carlos E. Avatar asked Jan 29 '23 12:01

Carlos E.


1 Answers

A single domain name can only be associated with a single Firebase project. There is no way to use the same domain name with two projects.

The closest you can get is by mapping a different subdomain to each project. E.g. www.foo.com for one and bar.foo.com for the other.

like image 55
Frank van Puffelen Avatar answered Feb 08 '23 02:02

Frank van Puffelen