FAQ & Troubleshooting

This page provides answers to frequently asked questions (FAQs) and troubleshooting information about Firebase Hosting:



Deployed assets and storage

The following are answers to common questions about deploying files and managing storage in Firebase Hosting.

Hosting release history table in the Firebase console shows higher file counts than the local project

Firebase automatically adds extra files containing metadata about the Hosting site, and these files are included in the total file count for the release.

Maximum file size allowed to deploy to Firebase Hosting

Hosting has a maximum size limit of 2 GB for individual files.

We recommend storing large files using Cloud Storage for Firebase, which offers a maximum size limit in the terabyte range for individual objects.



Hosting sites

The following are answers to common questions about limits and management for Firebase Hosting sites.

Maximum Hosting sites per Firebase project

The Firebase Hosting multisite feature supports a maximum of 36 sites per project.



Changes for deferred creation of the default Hosting site

This section describes the changes for the deferred creation of a Firebase project's default Firebase Hosting site. These changes take effect starting October 15, 2026.

  • The default Hosting site is not created when a new Firebase project is created or Firebase is added to an existing Google Cloud project.

  • Firebase only creates the default Hosting site in the following scenarios:

    • (Explicitly) If the default Hosting site is explicitly created (for example, by calling the projects.sites.create endpoint).

    • (Implicitly) If an action taken on the Firebase project might require a default Hosting site (for example, by clicking through the Firebase Hosting get started flow in the Firebase console or enabling Firebase Authentication).

Create the default Hosting site

After October 15, 2026, your default Hosting site can be created either explicitly or implicitly.

The first Hosting site created in your Firebase project always becomes your default Hosting site.

If your Firebase project does not yet have a default Hosting site and you do any of the following for the first time in your Firebase project, a default Hosting site will be created.

Explicitly create the default Hosting site

When you do any of the following, Firebase creates the default Hosting site with the requested site ID:

Implicitly create the default Hosting site

  • When you do any of the following, Firebase asks you to create the default Hosting site yourself (or asks for a preferred site ID to create the site for you):

    • Console: Create a Firebase Web App using the Firebase console "add app" workflow
    • CLI: Run firebase init hosting
    • CLI: Run firebase init and select hosting
    • CLI: Run firebase init auth
    • CLI: Run firebase init and select authentication
    • CLI: Run firebase deploy --only hosting
    • CLI: Run firebase deploy with hosting configured in your firebase.json
    • CLI: Run firebase apps:create web
  • When you do any of the following, Firebase automatically creates the default Hosting site for you in the background (and does not ask for a preferred site ID) for any of the following Firebase Authentication related scenarios:

    • Console: Enable Firebase Authentication
    • Enable the identitytoolkit.googleapis.com API via the gcloud CLI, REST, Terraform, etc.

Determine the site ID for the default Hosting site

After October 15, 2026, here's how the site ID for the default Hosting site will be determined:

  • If you create the default Hosting site yourself (or you're asked for a preferred site ID), then you can use any available site ID. We recommend trying to use your project ID.

  • If Firebase automatically creates the default Hosting site for you without asking for a preferred site ID, then we'll try to use the project ID as the site ID. However, if that value is already taken, then we'll append 5 random characters to the project ID.

    Note that this was the way that Firebase created the default Hosting site ID before October 15, 2026.

Learn more about the situation where your default Hosting site does not use your project ID.