title: Firebase default hosting domains: only .firebaseapp.com works but .web.app fails
body: <p>I'm building a very simple one-page react application using typescript. I tried hosting it using Firebase Hosting. Surprisingly, only the domain <em>[name].firebaseapp.com</em> works but <em>[name].web.app</em> shows the &quot;Site not found&quot; default page:</p>
  <p><a href="https://i.stack.imgur.com/gYZgd.png" rel="noreferrer">site-not-found image</a></p>
  <p>I am using a basic firebase config (the default one you get using <code>firebase init</code>):</p>
  <pre><code>{
    &quot;hosting&quot;: {
      &quot;public&quot;: &quot;build&quot;,
      &quot;ignore&quot;: [
        &quot;firebase.json&quot;,
        &quot;**/.*&quot;,
        &quot;**/node_modules/**&quot;
      ]
    }
  }
  </code></pre>
  <p>I get the &quot;Site not found&quot; when I go on <em>[name].web.app</em>. I would have suspected something was wrong with the <code>index.html</code>, the rewrites, the build folder, etc... but then why would I see the page functional on <em>[name].firebaseapp.com</em> and hosted nicely and it should be?</p>
  <p>There is a few things I suspect:</p>
  <ul>
  <li>The domain name is not available from firebase itself (although why would firebase name the domain something that is invalid if that was the case when creating the project)</li>
  <li>The files are being pushed to the <em>[name].firebaseapp.com</em> domain only (in that case, how can you control that?)</li>
  </ul>