Unable to Verify Custom Domain with Firebase Using Namecheap

后端 未结 6 1101
眼角桃花
眼角桃花 2020-12-02 11:45

After I followed the instruction by inserting the Text Record 1 that firebase has provided into my NameCheap, this error message keeps popping up:

Current Status: S

6条回答
  •  心在旅途
    2020-12-02 12:11

    Your attached screens do not show your CNAME configuration. Even though firebase instructions indeed only asks for two TXT records, records that are both correctly set up as your screens show, I believe that these pair of TXT records that firebase requests do not free you up from the need of setting up at least a CNAME record in addition to both TXT records.

    This was my case: while I did not set a CNAME record, firebase never recognized my domain.

    I am not an expert (sorry!), but in the lack of other answers, even I may be helpful to suggest that you set up your CNAME record to point to:

    CNAME record
    host: www
    value: [yourfirebaseappname].firebaseapp.com.
    (Please note the dot after the '.com').
    

    In my case this was enough to make firebase works well and recognize my domain.

    In my specific case, and I'll register here at least for my own future use, I prefered to use, as an after step, both A records supplied from firebase as my way to route to my domain without www.

    I believe this can be done with CNAME, but in my case the final setup was:

    Advanced DNS Management
    type: CNAME record
    host: www
    value: [my-domain-name-without-www]
    
    type: A record
    host: @
    value: [IP address from firebase, like '1.2.3.4']
    
    type: A record
    host: @
    value: [Second IP address from firebase, like '2.3.4.5']
    

    Everything is working fine using this configuration. Goal reached.

    As a todo future step, It would be useful to learn how to achieve similar goal using the CNAME record pointing to firebase domain instead of A records pointing to firebase supplied IP addresses.

    Hope this helps other users in similar situation!

提交回复
热议问题