In Firebase everything is divided into projects. I am making games so logically each game should be one project.
Now I would like to host a static page for each games. I think it is a good idea to use the Hosting menu in each projects but however the website should be under the same game developer company website.
In the connecting domain section I only see the option to connect the hosted site to either root domain or subdomain. Connecting to root is no good since this is not the only game I have and I already have a landing page of my company, so the option for me is to use the subdomain as mygame.companyname.com
But I am moving to Firebase from somewhere else (AWS S3 static web hosting) and I have been using companyname.com/mygame
for long time. Is there a way to make the hosted site appears as a subfolder like that instead of a subdomain? Currently in AWS, when I update the game site I can use AWS command line to sync to just the game subfolder. In Firebase's command line, using deploy
means uploading everything to the root.
I might need an another Firebase project just for hosting the companyname.com
so that all my games can connect to it. But that's ok.