← Firebase learning path
Firebase · Module 8 of 10

Firebase Hosting

Deploy fast, secure websites on a global CDN.

📖 Key ideas

  1. Hosting serves static files over a global CDN with free SSL.
  2. firebase.json sets public folder, rewrites, redirects and headers.
  3. Deploy: firebase deploy --only hosting.
  4. Preview channels give temporary URLs: hosting:channel:deploy.
  5. Connect custom domains in the console.
💡 Real-life example: Hosting is putting copies of your shop window in every city so visitors see it fast.
CDNContent Delivery Network
RewriteServe a different file for a path
Preview channelTemporary deploy URL
Custom domainYour own domain on Hosting