Firebase Hostingplat_web

Firebase Hosting provides fast and secure hosting for your web app, static and dynamic content, and microservices.

Firebase Hosting is production-grade web content hosting for developers. With a single command, you can quickly deploy web apps and serve both static and dynamic content to a global CDN (content delivery network). You can also pair Firebase Hosting with Cloud Functions to build and host microservices on Firebase.

Get Started

Key capabilities

Serve content over a secure connection The modern web is secure. Zero-configuration SSL is built into Firebase Hosting, so content is always delivered securely.
Host static and dynamic content plus microservices Firebase Hosting supports all kinds of content for hosting, from your CSS and HTML files to your Express.js microservices or APIs.
Deliver content fast Each file that you upload is cached on SSDs at CDN edges around the world. No matter where your users are, the content is delivered fast.
Deploy new versions with one command Using the Firebase CLI, you can get your app up and running in seconds. Command line tools make it easy to add deployment targets into your build process.
Rollback with one click Quick deployments are great, but being able to undo mistakes is even better. Firebase Hosting provides full versioning and release management with one-click rollbacks.

How does it work?

Firebase Hosting is built for the modern web developer. Websites and apps are more powerful than ever with the rise of front-end JavaScript frameworks like Angular and static generator tools like Jekyll. Whether you are deploying a simple app landing page or a complex Progressive Web App (PWA), Hosting gives you the infrastructure, features, and tooling tailored to deploying and managing websites and apps.

Hosting gives your project a subdomain on the firebaseapp.com domain. Using the Firebase CLI, you can deploy files from local directories on your computer to your Hosting server. Beyond serving static content, you can use Cloud Functions for Firebase to serve dynamic content and host microservices on your site. All content is served over an SSL connection from the closest edge server on our global CDN.

In addition to content hosting, Firebase Hosting offers lightweight hosting configuration options for you to build sophisticated PWAs. You can easily rewrite URLs for client-side routing or set up custom headers.

Once you're ready to take a site to production, you can connect your own domain name to Firebase Hosting. We automatically provision an SSL certificate for your domain so that all your content is served securely.

Implementation path

Install the Firebase CLI The Firebase CLI makes it easy to set up a new Hosting project, run a local development server, and deploy content.
Set up a project directory Add your static assets to your local Hosting project folder and set up Cloud Functions for your dynamic content and microservices. You can then test your site locally by running firebase serve.
Deploy your site When things are looking good, run firebase deploy to upload the latest snapshot to our servers. New versions are released all at once, so you'll never have to worry about half-finished deployments. But, if something does goes wrong, you can roll back with one click.

Next steps

Send feedback about...

Need help? Visit our support page.