Answer the question
In order to leave comments, you need to log in
How to redirect www to no-www domain using Firebase and Namecheap?
How can I redirect www.domain.com to domain.com using Firebase like hosting?
You can't use .htaccess in Firebase, but you can set up redirects via firebase.json or in Hosting -> Sites.
Firebase.json only allows you to set up internal redirects, not external ones.
The hosting panel gives me the ability to configure the redirect the way I want: www.domain.com -> domain.com
In Namecheap -> Advanced DNS I added 2 A records for @(domain.com) and www.domain.com.
Result: domain.com works fine, but www.domain.com gives This site can't be reached(DNS_PROBE_FINISHED_NXDOMAIN)
What could I be missing, how can I connect firebase hosting to the domain?
Answer the question
In order to leave comments, you need to log in
Where does the A-record @ lead, and where does www? To avoid nuances, they usually use CNAME www on @. Web hosting has nothing to do with it, DNS_PROBE_FINISHED_NXDOMAIN indicates a missing record on the DNS server.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question