-
From your project's Hosting page, enter the wizard for connecting a custom domain:
- If you have only one Hosting site, click Connect domain.
- If you have more than one Hosting site, click View for the desired site, then click Connect domain.
-
Enter the custom domain that you'd like to connect to your Hosting site.
Optionally, you can also check the box to configure a redirect of all requests on the custom domain to another specified domain.
-
Click Continue to initiate the validation process. Then, if requested, verify your domain ownership by following the on-screen instructions.
These steps ensure that your domain hasn't already been linked with a Firebase project and that you own the specified domain.
-
To complete the custom domain setup, you can use the Quick Setup mode in most cases.
However, if you already have a site running on another hosting provider and need a zero-downtime migration, then select Advanced Setup from the setup mode dropdown list.
-
Quick Setup — Point the DNS A records for your domain to Firebase Hosting.
-
Advanced Setup — Follow the on-screen instructions either to update your domain's DNS TXT records or to upload a file to a specified location on your existing site. After verification is complete, you can safely point your DNS A records to Firebase Hosting.
-
-
Firebase provisions an SSL certificate within 24 hours after you point your DNS A records to Firebase Hosting.
Connect a custom domain
For your custom domain, if your DNS records have A records or CNAME records that point to other providers, Firebase is unable to provision an SSL certificate.
Was this helpful?
How can we improve it?