DNS - Firebase connect to Namecheap still says Needs setup?

时光怂恿深爱的人放手 提交于 2019-11-28 20:11:50

问题


Ok, it has been less than 24 hrs but more than 10, and I find it odd that I am still getting a status of Needs setup in Firebase just trying to redirect to a custom domain, bought with Namecheap. I don't know what Im doing wrong but I still get the "insecure connection" error trying to access my site.

Here are the records specified in Firebase to be added to my Namecheap records:

Namecheap is in accordance:

I used @ for the same host as specified by Namecheap - is something wrong? How long should this take if not?


回答1:


You need to change the CNAME record to your firebase app URL:
example-app.firebaseapp.com. (Make sure to include the dot at the end) and you should also change the TTL on both A records to Automatic.

Then, delete the URL Redirect record. That should fix your problem. I'd wait up to an hour after these changes for the changes to take effect.

This is what my namecheap DNS setup looks like
I added the www A records because I have a redirect in my Firebase console, but you don't need those.




回答2:


Expanding on Devin's answer which helped immensely... Here are the steps that worked for me.

  1. Go to the Firebase console and click 'connect domain', and add your domain
  2. Remove all DNS records in Namecheap
  3. Add the TXT record that Google/Firebase suggests
  4. Go back to the Firebase console and click 'connect domain'
  5. Verify the domain ownership
  6. Add in the A records that Google/Firebase suggests
  7. Add a CNAME record pointing to the default Firebase URL, and any A records that Google/Firebase suggests for a site redirect, if you have one.


来源:https://stackoverflow.com/questions/48252041/dns-firebase-connect-to-namecheap-still-says-needs-setup

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!