Firebase .web App Showing ( Site Not Found )

Viewed 204

here is .web link: https://al-realtor.web.app here is my .firebaseapp link: https://al-realtor.firebaseapp.com

The Web showing me Site not found! But the FirebaseApp showing everything is all Right

I am Using in my code:

  • React
  • Tailwind
  • FontAwesome
  • React Router

and there is no error on my code. It running on netlify and .firebaseapp but not only .web app

2 Answers

There are usually 3 situations where people are making mistake.

  1. They set up bad public folder when firebase init. This setup is in firebase.json file.
"hosting": {
    "public": "dist/public",
    ...
}
  1. They build project then init and by mistake when init they overwrite index.html file.
  2. They have server side rendering app. Hosting should redirect requests to a firebase function but what they not know is that every home page request is equal to example.com/index.html when hosting has this file it not trigger function and return file. So you need to rename it before deploying.

Might be late to this but for anyone having this problem. The solution is just to wait. Most likely the google servers near you don't have the latest information about your site. You can usually access the site anyway by using USA VPN.

Related