title: 404 on asset retrieval: React App Deployed on Github Pages with Custom Domain
body: <p>I have deployed my react app (created with CRA) to github pages. I have the gh-branch, and everything works fine when deployed without the custom domain.</p>
  <p>Then I add my custom domain, and a white page appears. The console shows this:</p>
  <p><a href="https://i.stack.imgur.com/AqLgL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AqLgL.png" alt="console output" /></a></p>
  <p>The network tab shows this:</p>
  <p><a href="https://i.stack.imgur.com/r7AUV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/r7AUV.png" alt="network tab output" /></a></p>
  <p>It seem as if it hits the custom domain fine, and then cannot return the build items. I've searched online and can't find a solution to this specific example.</p>
  <p>My dns setup:</p>
  <p><a href="https://i.stack.imgur.com/CsXLX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CsXLX.png" alt="dns setup" /></a></p>
  <p>As soon as i remove the custom domain it all works fine again.</p>
  <p>React scripts:</p>
  <p><a href="https://i.stack.imgur.com/qlRsX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qlRsX.png" alt="react scripts" /></a></p>
  <p>Homepage definition in package.json:
  <a href="https://i.stack.imgur.com/EaENr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EaENr.png" alt="package.json: homepage def" /></a></p>
  <p>CNAME file:</p>
  <p><a href="https://i.stack.imgur.com/aXCKj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aXCKj.png" alt="CNAME file" /></a></p>
  <p>Github pages setup:
  <a href="https://i.stack.imgur.com/U1JHj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/U1JHj.png" alt="enter image description here" /></a></p>
  <p>Terminal output from the dig command:</p>
  <p><a href="https://i.stack.imgur.com/jQO5E.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jQO5E.png" alt="terminal output for dig holoapes.com" /></a></p>
  <p>What's my dns output:
  <a href="https://i.stack.imgur.com/DcRb1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DcRb1.png" alt="whatsmydns website output" /></a></p>
  <p>Any help / tips deeply appreciated</p>