Search code examples
firebasefirebase-hosting

Firebase Hosting custom domain suddenly stopped working while trying to add www redirect


I had completed setup firebase hosting custom domain after verifying TXT records and A records with IP addresses. and today I tried to add another domain to redirect www.mysite.com to mysite.com. in the process I deleted previous A records and re-added new records and firebase hosting stopped working soon after. I'm very new to firebase and I have no idea what happened. My domain is purchased from namecheap.com. I also re-added A records hoping it will fix the issue but it didn't.

enter image description here it says mysite.com is connected but when I try to access it I get following error. enter image description here


Solution

  • It started working again automatically a few minutes after resetting A records. But firebase support told me that there should only be A records with IP address in DNS configurations.