← Firebase learning pathFirebase · Module 8 of 10
Firebase Hosting
Deploy fast, secure websites on a global CDN.
📖 Key ideas
- Hosting serves static files over a global CDN with free SSL.
- firebase.json sets public folder, rewrites, redirects and headers.
- Deploy: firebase deploy --only hosting.
- Preview channels give temporary URLs: hosting:channel:deploy.
- 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