NameCheap and Firebase Hosting

Miroslav Maksimovic
An Idea (by Ingenious Piece)
2 min readMay 28, 2020

So you have decided to go live with your website.

You chose the NameCheap as a domain provider and firebase as a hosting provider, great! But how to make them play together you may wonder.
Here are the steps:

  1. Buy a domain on namecheap.
  2. Go to the Firebase Hosting of your project. Click on add custom domain and key in your custom domain. Leave the checkbox that says redirect to an existing website, unchecked. Click continue.

3. Copy the statement below the value header: google-site-verification=something

4. Go to the NameCheap dashboard. you need to go to Domain List > Manage Click on the domain you want to register > Advanced DNS > Add New Record.

5. Make sure that you delete all records you find before proceeding with the next steps.

6. Create a TXT Record, with a @ as host, instead of the URL as the host.

7. Moreover, create a CNAME record with www as the host and the value with your domain.

This will be verified after a couple of minutes. You are one step away from using your custom domain.

Once done, you will be brought to the last page, GO LIVE.
8. You have to add 2 A Record with the host @ instead of your custom domain into the Advanced DNS settings.

You have to wait for a while for the domain to be secured by Firebase. Refresh the page after a few minutes, and you will see the Pending status.

You can visit your web app, which is not secured, yet.

It may take up to 24 hours, but it will probably take less.

Here is the video if someone prefers.

--

--

Miroslav Maksimovic
An Idea (by Ingenious Piece)

Software Engineer, passionate knowledge transferer, writer for The Startup, largest publication @Medium with over 700k followers