Sitemap

Member-only story

Add Custom Domains in Firebase Hosting

Everyone uses Firebase Hosting, but did you know you can add a custom domain in minutes?

xeladu
3 min readApr 30, 2025
Made with Microsoft Designer

Firebase Hosting is great out of the box — but by default you only get a web.app or firebaseapp.com domain. That’s a missed opportunity for branding and SEO. I’ll show you how to connect a custom domain in this article.

🚀 It takes 5 minutes — and Firebase even automatically provisions an SSL certificate for you!

How it works

Once your app is deployed (firebase deploy), go to the Firebase Console → Hosting section and look for domains.

Default domain overview in Firebase Hosting

Click Add custom domain, and you’ll see a screen like this:

Enter your domain name to connect it with Firebase

Enter your domain or subdomain name and continue.

Create TXT record to verify that you own the requested domain

--

--

xeladu
xeladu

Written by xeladu

Flutter and Firebase expert, blogger on QuickCoder.org, find my ebooks and freebies on shop.quickcoder.org, contact me on me.quickcoder.org!

No responses yet