A custom domain 404 often means DNS points correctly but Pages is serving the wrong branch or no built files. Check Pages source and CNAME together.
Platform: GitHub Pages
Error: Custom domain 404
A custom domain 404 often means DNS points correctly but Pages is serving the wrong branch or no built files. Check Pages source and CNAME together.
echo "www.example.com" > docs/CNAME
Do not store CNAME only in the GitHub UI if your deploy process replaces the output folder.
Send the deploy log, repository link, target platform, and expected URL. ShipFast Deploy Rescue is a fixed-price debugging service for indie projects and MVPs.