How to Add a Custom Domain on Google Firebase Hosting


Add a Custom Domain on Google Firebase Hosting

How to Add a Custom Domain on Google Firebase Hosting

In today tutorial we are going to see about a Method to Add a Custom Domain on Google Firebase Hosting.

Firebase is a Platform which helps us Build a Web Apps and Mobile Applications.

Firebase has the Hosting Option which helps us to Host our Static Files and Javascript Framework related websites.In our upcoming post, I will Publish about Firebase static website hosting Guide.

Here are the Crucial Steps to Add a Custom Domain on Google Firebase Hosting.

How to Connect our Custom Domain in Google Firebase?

  • Login to your Firebase account
  • Open your project that you want to add a custom domain
  • In the Left menu bar, you can find the Hosting

Add a Custom Domain on Google Firebase Hosting

  • Open Hosting
  • Hosting page having the option for connecting the custom domain

Add a Custom Domain on Google Firebase Hosting

  • click Connect domain
  • Enter your domain name
  • Click Connect Domain
  • it moves to verify ownership page

Add a Custom Domain on Google Firebase Hosting

  • On Ownership page, we get TXT verification tag for domain owner verification
  • Create New TXT record to verify your domain ownership (use @ at the Host field and paste the Verification TXT code in Value Field)

Add a Custom Domain on Google Firebase Hosting

  • it take Sometimes to verify the Domain ownership
  • After Domain Verification,  it will take you to DNS setup

Add a Custom Domain on Google Firebase Hosting

  • Now Again go to your Domain DNS Manager and create a Two A records for this given IP’s

Add a Custom Domain on Google Firebase Hosting

  • Use “@” at Host Field if you are Connect a Subdomain for your Google Firebase Hosting use your Sub-name at Host Field (Example: I use blog.example.com then put blog at host Field)

Add a Custom Domain on Google Firebase Hosting

  • Complete All DNS Setup and click Finish
  • Now it Ask to Connect WWW Version

Add a Custom Domain on Google Firebase Hosting

  • Click Connect to set up the Redirection ( WWW Version Redirected to Non-www Version)

Add a Custom Domain on Google Firebase Hosting

  • Suffix redirection only for Main Domain not for Subdomains
  • Click Continue to Complete the redirection Setup – if you want WWW version then Enter WWW URL While Connect the Domain (First Step)

Add a Custom Domain on Google Firebase Hosting

  • You Need to Add the IP Records for WWW Version Also Like this check the Below Screenshot

Add a Custom Domain on Google Firebase Hosting

  • DNS Verification takes 1 to 2 Hours to complete
  • Your Google Firebase Hosting Project Domain activated with Free SSL 🙂

Fully Connected Domain

Add a Custom Domain on Google Firebase Hosting

Fully Connected Subdomain

Add a Custom Domain on Google Firebase Hosting

From the Editor’s Desk

DNS set up slightly Different in Google Firebase Hosting.It Takes 1 to 2 Hours for Full Connection Because of SSL Certificate they Provide a Free SSL for their user’s who are all Using a Custom Domain for their Firebase Hosting, so It takes Some Hours for Full Activation with Free SSL Certificate 🙂

If you have Any Doubts in this Topic Drop your Comments Here, I will Guide you.

How to Guides

 



Was this article helpful?
Thanks!

Your feedback helps us improve Allwebtuts.com