67

I deployed my app and now I'm trying to add my custom URL. I followed Firebase's instructions and added their TXT record to my DNS (GoDaddy). But now Firebase is saying it's still not verified. I assume I'm doing something wrong, but there's not much here to mess up...

Screen Shot of Firebase

Screen shot of DNS

DoubleTri
  • 861
  • 1
  • 7
  • 14
  • 5
    I'm not 100% sure it even matters, not an expert in this area... but in the past I've always used `@` in the `Name` column in GoDaddy, not the actual name of the domain I own. Maybe try that? – JeremyW Jun 25 '18 at 13:15
  • Yep! That solved it!! Thanks so much!!! – DoubleTri Jun 25 '18 at 13:20
  • Step-by-step solutions with screenshots https://stackoverflow.com/questions/40427383/how-can-i-verify-my-custom-domain-on-firebase-using-godaddy/60431369#60431369 – Ashish Dec 04 '22 at 10:51

6 Answers6

120

Per my comment above, the solution was to use the @ sign in the Name column of GoDaddy, not the actual name of the domain that is owned.

JeremyW
  • 5,157
  • 6
  • 29
  • 30
  • 1
    Was after this for 2 hours. Thank you! – Varun Joshi Mar 24 '19 at 06:16
  • 2
    This worked for me. @ for the name for the TXT file and @ for a redirect from www.yourdomain.com to yourdomain.com in the A file – Hblegg Apr 17 '19 at 05:04
  • 1
    adding CNAME www mytestapp.firebaseapp.com ttll:1 Hour is not needed? – LOG_TAG Aug 13 '19 at 08:45
  • All step-by-step solutions with screenshots https://stackoverflow.com/questions/40427383/how-can-i-verify-my-custom-domain-on-firebase-using-godaddy/60431369#60431369 – Ashish Dec 04 '22 at 10:51
29

To add a bit more information to this great solution for future reference.

DNS propagation can be monitored using a service like: https://www.whatsmydns.net/ This will show you when your records are ready, thus can be verified by firebase.

As for subdomain, ie. beta.example.com

The value would be 'beta' instead of '@' or 'example.com' for the godaddy DNS records.

Alocus
  • 1,860
  • 3
  • 21
  • 32
9

TXT GoDaddy TTL time is approximately 2 hours, Please re-verify after 2 hour firebase.

7

I see you fixed your problem but for anyone trying to link their godaddy domain with the reset password/ verify email service in Firebase Auth you need to remove your domain name from the CNAME record name.

Firebase gave me firebase2._domainkey.mydomain.com and in godaddy CNAME record name I only used firebase2._domainkey and it verified my domain.

beowulf
  • 546
  • 1
  • 10
  • 16
  • 1
    do this for your firebase1._domainkey as well! :) – landnbloc Aug 28 '21 at 18:00
  • If anybody see's this and is using google domains, make sure you do this ^^^. Google domains automatically appends your domain to the end, so my CNAME name was always `firebase2._domainkey.mydomain.com.mydomain.com` and I did not realise. – squish Jun 03 '22 at 23:02
3

In case you have to set up the acme-challenge for your https certificate you probably may get something like this:

_acme-challenge.domain.com

just remove domain.com

in the case, you might have a subdomain _acme-challenge.subdomain.domain.com change it only to _acme-challenge.subdomain

it will work in a couple of hours

pedrommuller
  • 15,741
  • 10
  • 76
  • 126
0

For TXT records use @ for host instead of mysite.com

and for

A record, if it is subdomain, just add subdomain in the place of host. for example, https://subdomain.mysite.com => just add "subdomain" in Host of your DNS records in godaddy.

jkr
  • 630
  • 1
  • 11
  • 24