Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I verify my custom domain on firebase using GoDaddy

I recently created a project on firebase to host my website and I've transfered my data to their subdomain. But I want to connect my own domain ardacebi.com It gave me a TXT file to save from the DNS Manager but I can't save the file. It gives an error at the main machine part. I put the symbol @ but it ignores it.

How can I fix this problem or can you suggest me a website or tutorial (an easy one).

Thanks for all your help!

like image 698
Arda Çebi Avatar asked Nov 04 '16 16:11

Arda Çebi


People also ask

How do I verify my GoDaddy domain with Firebase?

Step 1: Go to firebase console and check your project. Step 2: Click Hosting Link from the left side and you can see your default website deployed. Step 3: Click Connect Domain link from the page. Step 4: Add Domain name in the connect custom domain popup.

How do I connect my GoDaddy domain to Firebase?

Quick SetupReturn 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.


2 Answers

Add custom domain from GoDaddy to firebase hosting

If you are reading this answer then you are lucky that you are at the right place. At initial, I also faced difficulty but its simple and needs patience.

Steps to add custom domain from GoDaddy to firebase hosting

  1. Go to the firebase hosting page then add a custom domain like www.xyz.com and definitely you want to redirect like the standard approach(xyz.com). So add and redirect like this is your output after adding and verify.

enter image description here

  1. Go to the GoDaddy DNS page and add google verification like this. Don't follow the firebase step as it says add www.xyz.com.
Type   Host Name    Value
-----+-----------+-------------------------------------   
TXT       @         google-site-verification={ver-code}

and TTL to 1/2 hr then ADD. And wait for a few minutes to an hour to connect google-site-verification then click on Verify in the firebase hosting console.

Note: Verify will only work after some time.

  1. Add A type in GoDaddy. And delete all previous A, AAAA, and CNAME types from Godaddy.
Type   Host Name    Value
-----+-----------+-------------------------------------   
 A       www        151.101.1.195
    
 A       www        151.101.65.195
  1. Now add xyz.com again in firebase as a custom domain to work what you added in redirect in step 1. And this is your final view of the firebase hosting as connected in some time. enter image description here
  2. Go to GoDaddy and add A type like this
Type   Host Name    Value
-----+-----------+-------------------------------------   
 A        @         151.101.1.195
    
 A        @         151.101.65.195

So, at last, you have this in GoDaddy. enter image description here

  1. Click on the finish and wait for 2-48 hours. Keep patience it will work
like image 101
Ashish Avatar answered Oct 12 '22 03:10

Ashish


You need to add the TXT records provided by Firebase in your Domain Registrar (GoDaddy in your case). You can follow the steps provided in this link to add a TXT records in your Domain registered at GoDaddy.

like image 26
Ravi Prakash Verma Avatar answered Oct 12 '22 01:10

Ravi Prakash Verma