Google Domain - DNS Configuration for Firebase Hosting - Connect Domain

FirebaseDnsAngularfire2Firebase HostingGoogle Domains

Firebase Problem Overview


I am trying to connect my firebase app in to a domain -where the domain purchesd from google.Need help to to do the setup for DNS configuration. my app is working fine in firebase app. firebase app is - https://.firebaseapp.com/

My Firebase setup

enter image description here

And

enter image description here

Google Domain (https://domains.google.com/) - DNS Configuration

1.Name servers Default is "Use the Google Domains name servers" is it OK?, if not what to setup

enter image description here

2.Registered hosts

If anything, need to add- please let me know.

enter image description here

3.Synthetic records

If anything, need to setup - please let me know.

enter image description here

4. Custom resource records

I am trying to add two records but getting error while trying to add second record - is "Record already in use" please find the screen shot

enter image description here

Update Now I have added both the IP address, but still it is not working.

enter image description here

Firebase Solutions


Solution 1 - Firebase

Click the little + icon to the right of the field where you're entering the IP address. That will open a second textbox that you can use for the second value.

Solution 2 - Firebase

I noticed in your screenshot

That you have @-------------.com (where I assume ----------- is your URL). You don't want that. You want simply @ there (and www if you want to redirect www.--------.com as well). @ means "this domain name", which in your case is ----------

Hope this helps!

Solution 3 - Firebase

This was really helpful but there was one missing thing I was still confused on. On the firebase docs page for this https://firebase.google.com/docs/hosting/custom-domain if you scroll down the page it give you an example of how to setup a google domain. It asks that you put in the following information.

enter image description here

I could not find any "verification value provided in firebase console" for a TXT record. I ended up just putting the DNS A record inputs and that worked for domainName.com and www.domainName.com

Solution 4 - Firebase

Addition to Editing and (+) adding records together. You might want to also add 2 records for @ and and 2 for www.

Solution 5 - Firebase

I had same problem, every setup was right but site doesn't work. Finally I removed the domain from Firebase and add it again without changing DNS setup, then problem resolved.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionManuView Question on Stackoverflow
Solution 1 - FirebaseMichael BleighView Answer on Stackoverflow
Solution 2 - FirebaseJackson KelleyView Answer on Stackoverflow
Solution 3 - FirebaseJoseView Answer on Stackoverflow
Solution 4 - FirebaseUriah RVView Answer on Stackoverflow
Solution 5 - FirebaseNavid ShadView Answer on Stackoverflow