Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to move custom domain from one firebase project to another without downtime?

I have a firebase project that serves live users through a custom domain. I need to move the custom domain to the new version of application that is running in a different firebase project. If I delete the custom domain and add it in another firebase project, how much time will it take to reflect the change? How do I minimize the downtime?

like image 790
Queen's Gambit Avatar asked Oct 27 '20 17:10

Queen's Gambit


1 Answers

Checked with Firebase support. This can be done without downtime. Here are their instructions:

To delete your custom domain from the project, follow these steps:

  1. Go to the Firebase Hosting console for your project, you will see your domain.
  2. Hover over your domain.
  3. There's an overflow menu (three vertical dots) on the right. From the overflow menu, select "Delete Domain"

When you delete a domain, we don't immediately remove the domain from our backend. This is because most of the time developers are moving their domains from one project to another, and this feature allows us to re-provisioned the SSL certificate quicker.

I was able to delete and add the domain to another project without any downtime. Thanks to the firebase team for being so thoughtful.

like image 64
Queen's Gambit Avatar answered Nov 09 '22 17:11

Queen's Gambit