Connect a custom domain

  1. 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.
  2. 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.

  3. 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.

  4. 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.

  5. Firebase provisions an SSL certificate within 24 hours after you point your DNS A records to Firebase Hosting.

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?
Search
Clear search
Close search
Google apps
Main menu
6218446282804583468
true
Search Help Center
true
true
true
true
true
5054967