0
0
Firebasecloud~10 mins

Custom domain configuration in Firebase - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to add a custom domain to your Firebase project.

Firebase
firebase hosting:sites:create [1]
Drag options to blanks, or click blank then click option'
Adefault
Bfirebase
Cmy-custom-site
Dproject123
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'firebase' or 'default' as site name
Leaving the site name blank
2fill in blank
medium

Complete the command to add a custom domain to your Firebase hosting site.

Firebase
firebase hosting:sites:domain:add [1] example.com
Drag options to blanks, or click blank then click option'
Afirebase
Bdefault
Cproject123
Dmy-custom-site
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'default' instead of the actual site name
Omitting the site name
3fill in blank
hard

Fix the error in the DNS verification command for Firebase custom domain.

Firebase
firebase hosting:sites:domain:verify [1] example.com
Drag options to blanks, or click blank then click option'
Adefault
Bmy-custom-site
Cexample
Dfirebase
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'default' or 'firebase' instead of the correct site name
Using the domain name as site name
4fill in blank
hard

Fill both blanks to configure the DNS records for your custom domain.

Firebase
Add a [1] record pointing to [2] to your domain's DNS settings.
Drag options to blanks, or click blank then click option'
AA
BCNAME
Cfirebasehosting.googleapis.com
D199.36.158.100
Attempts:
3 left
💡 Hint
Common Mistakes
Using CNAME instead of A record
Pointing to the wrong IP or hostname
5fill in blank
hard

Fill all three blanks to complete the Firebase hosting configuration file for your custom domain.

Firebase
{
  "hosting": {
    "site": "[1]",
    "public": "[2]",
    "ignore": ["[3]"]
  }
}
Drag options to blanks, or click blank then click option'
Amy-custom-site
Bpublic
Cfirebase.json
Dnode_modules
Attempts:
3 left
💡 Hint
Common Mistakes
Using wrong site name
Setting 'public' to wrong folder
Ignoring wrong files