How To Get Your Domain_9 Url
You don't have to give up your unique, brand-centric domain names with Firebase Hosting. You can use a custom domain (like example.com
or app.example.com
) instead of a Firebase-generated domain for your Firebase-hosted site.
Firebase Hosting provisions an SSL certificate for each of your domains and serves your content over a global CDN.
The rest of this document walks you through these steps to connect your custom domain.
Set up your domain for Hosting
Make sure that you've completed the "Get Started" wizard from your project's Firebase Hosting page so that you have a Firebase Hosting site in your Firebase project.
Step 1: Add domain
-
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 name that you'd like to connect to your Hosting site.
-
(Optional) Check the box to redirect all requests on the custom domain to a second specified domain (such that
example.com
andwww.example.com
redirect to the same content). -
Click Continue to initiate the validation process.
Step 2: Verify domain ownership
If requested in the Connect Domain setup wizard, verify your apex domain.
These steps ensure that your domain is not already linked with a Firebase project and that you own the specified domain.
-
In your domain provider's site, locate the DNS management page.
-
Add and save a new record with the following inputs:
-
Type: Add a TXT record.
Firebase Hosting requires that you keep this TXT record continually present in your DNS settings to prove your ownership of the domain and to authorize Firebase to assign and renew SSL certificates for your site.
Your domain provider may list this term as "Record Type".
-
Host: Enter your apex domain key.
Proving your ownership of an apex domain, or root domain, proves your ownership of all its subdomains.
Your domain provider may list this term as "Host Name", "Name", or "Domain".
-
Value: Copy the unique verification value into the field.
Firebase Hosting checks for this value to prove your domain ownership.
Your domain provider may list this term as "Data".
-
-
Allow up to 24 hours for propagation of your updated TXT records, then click Verify.
Note that you may click Cancel to safely close the Connect Domain window and reopen at a later time. This does not affect the propagation time, but you will be prompted to re-enter your domain name when you reopen the window.
After ample propagation time, clicking Verify in the Connect Domain window of the Firebase console allows you to begin the SSL certificate provisioning process.
In most cases, propagation of your records and verification of your domain will happen within a few hours, depending on your domain provider. Refer to your domain provider's documentation for detailed instructions for adding TXT records and propagation times.
If clicking Verify prompts an error message, your records have not propagated or your values may be incorrect.
Step 3: Go live
In the Connect Domain window of the Firebase console, select Quick Setup for a new site or Advanced Setup if you already have a site running on another hosting provider and need a zero-downtime migration.
Quick Setup
- Return to your domain name provider's DNS management site to create DNS A records pointing your page to Firebase Hosting. Add and save records with the following inputs:
- Type: Add two DNS A records.
- Host: Enter your custom domain key for both records.
- Value: Assign one value to each DNS A record to point your domain to the specified IP addresses. Your domain provider may list this term as "Data", "Points To", "Content", "Address", or "IP Address".
- Allow time for your SSL certificate to be provisioned. This may take up to 24 hours after you point your A records to Firebase Hosting. In most cases, propagation of your records and provisioning of your SSL cerificate will happen within a few hours, depending on your domain provider.
The host you indicate is the domain on which you want to serve content; this domain can be an apex domain or subdomain.
Your domain provider may list this term as "Host Name", "Name", or "Domain".
Advanced Setup
- The Connect Domain window of the Firebase console will request that you provide a token to migrate your existing site. You only need to complete one of the following to provide the token:
- Update DNS TXT records: Visit your domain provider's DNS management site. Add a TXT record with your domain key and the provided value. Allow up to 24 hours for propagation of your TXT records.
- Upload a file to an existing site: Upload the token onto your existing site at the specified URL and verify its existence.
- Allow time for your SSL certificate to be provisioned. This may take up to 24 hours. In most cases, propagation of your records and provisioning of your SSL certificate will happen within a few hours, depending on your domain provider.
- After your SSL certificate is provisioned, return to your DNS provider's DNS management site to add DNS A records pointing your page to Firebase Hosting. Add and save records with the following inputs:
- Type: Add two DNS A records.
- Host: Enter your custom domain key for both records.
- Value: Assign one value to each DNS A record to point your domain to the specified IP addresses. Your domain provider may list this term as "Data", "Points To", "Content", "Address", or "IP Address".
The host you indicate is the domain on which you want to serve content; this domain can be an apex domain or subdomain.
Your domain provider may list this term as "Host name", "Name", or "Domain".
Wait for SSL certificate provisioning
After we verify domain ownership, we provision an SSL certificate for your domain and deploy it across our global CDN within 24 hours after you point your DNS A records to Firebase Hosting.
Your domain will be listed as one of the Subject Alternative Names (SAN) in the FirebaseApp SSL certificate. You can view this certificate using the browser's security tools. While the domain is provisioning, you might see an invalid certificate that does not include your domain name. This is a normal part of the process and will resolve after your domain's certificate is available.
For Advanced Setup users, your website will be hosted by your previous hosting provider until the setup status in your project's Firebase Hosting page updates to Connected.
Your custom domain key
When adding or editing DNS records, different domain providers expect you to enter different inputs for the Host field within their DNS management sites. We've compiled common inputs from popular providers below. Refer to your domain provider's documentation for detailed instructions.
Domain type | Custom domain key |
---|---|
Apex domain | Common inputs include:
|
Subdomain | Common inputs include:
|
Common domain providers
Here are some common domain providers and the types of input each might require. This information is kept up-to-date as much as possible, but refer to your domain provider's documentation for detailed instructions.
Cloudflare
Type | Host | Value |
---|---|---|
DNS TXT record inputs | ||
TXT | example.com | verification value provided in Firebase console |
DNS A records inputs | ||
A | example.com | 199.36.158.100 |
A | www | 199.36.158.100 |
Google Domains
Type | Host | Value |
---|---|---|
DNS TXT record inputs | ||
TXT | @ | verification value provided in Firebase console |
DNS A records inputs | ||
A | @ | 199.36.158.100 |
A | www | 199.36.158.100 |
Google Cloud DNS
Type | Host | Value |
---|---|---|
DNS TXT record inputs | ||
TXT | example.com | verification value provided in Firebase console |
DNS A records inputs | ||
A | example.com | 199.36.158.100 |
A | www | 199.36.158.100 |
NameCheap
Type | Host | Value |
---|---|---|
DNS TXT record inputs | ||
TXT | @ | verification value provided in Firebase console |
DNS A records inputs | ||
A | @ | 199.36.158.100 |
A | @ | 199.36.158.100 |
Squarespace
Type | Host | Value |
---|---|---|
DNS TXT record inputs | ||
TXT | @ | verification value provided in Firebase console |
DNS A records inputs | ||
A | @ | 199.36.158.100 |
A | www | 199.36.158.100 |
Setup status descriptions for custom domains
Status | Description |
---|---|
Needs setup | You may need to change a configuration with your DNS records.
|
Pending | You correctly set up your custom domain, but Firebase Hosting hasn't provisioned an SSL certificate. Occasionally, the following issues can stall the minting of an SSL certificate for a custom domain:
|
Connected | Your custom domain has the proper DNS records and has an SSL certificate. |
Needs Re-Verification | Firebase may require you to manually re-verify your domain ownership if any of the following situations happen:
|
How To Get Your Domain_9 Url
Source: https://firebase.google.com/docs/hosting/custom-domain
Posted by: penachem1942.blogspot.com
0 Response to "How To Get Your Domain_9 Url"
Post a Comment