I'd like to have 2 firebase projects for two separate environments. dev and prod.
my-project-prodmy-project-devIf I have a single custom domain: www.mydomain.com
Can I use that same custom domain in those 2 different projects?
I would use different subdomains. Example:
my-project-prod would be connected to www.mydomain.commy-project-dev would be connected to dev.mydomain.comIs this possible?
Yes. When you click add custom domain in firebase hosting, for one, type in www.mydomain.com and add the resource records. For the other domain, type in dev.mydomain.com and add the resource records. When you add the 2 A records, make the host dev, instead of @ or www.