skip to Main Content

Why i can’t access the firebase hosted site with the www prefix if I remove www From there it works.

Check this demo site :–

https://www.fir-demo-project.web.app : Not working ❎

https://fir-demo-project.web.app : Working ✅

2

Answers


  1. To redirect http://www.fir-demo-project.web.app to fir-demo-project.web.app then you need to add CNAME record.

    To redirect fir-demo-project.web.app to http://www.fir-demo-project.web.app, you need to add A record.

    Kindly check your DNS entries for the domain

    Login or Signup to reply.
  2. Firebase Hosting simply does not provide a free www address for your site. According to the documentation, here is what you get for free:

    The Firebase-provisioned subdomains for your default Hosting site and
    any additional Hosting sites:

    • SITE_ID.web.app (like PROJECT_ID.web.app)
    • SITE_ID.firebaseapp.com (like PROJECT_ID.firebaseapp.com)

    If you want to customize the domain for your site, you need to register a domain and configure Firebase Hosting to use that. You can then control the domain any way you like.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search