I have bought a domain from GoDaddy, and I want to host a static website using firebase hosting. When connected to firebase, example.com
works. But when I want to redirect www.example.com
to example.com
, it doesn't work. I already put token generated from Firebase into GoDaddy registrar.
It says 'Domain not verified'.
This is my records in godaddy.
I have waited for a day, still it doesn't work.
What could have gone wrong in my setting up the redirection? This is my first time setting up hosting, sorry if I'm making silly mistakes.
www
tonon-www
, you first need to add a DNS record for thewww
subdomain in GoDaddy. You can do that using an A record, or CNAME. Then you'll need to add aTXT
record for the Firebase verification. This guide should help with that.