Your build succeeded. Your app still shows NOT_FOUND. Here is the actual cause, and the one change that prevents it from ever happening.
Your code already lives on GitHub. Here is how to turn it into a real website anyone can visit.
Your app already has a free Vercel address. Here is how to point your own domain at it instead.
Vercel makes deploying a modern web app straightforward, but the errors that show up right after a deploy, like a 404 on a route that worked locally, tend to confuse people who have not seen them before. These guides walk through the specific, common issues and how to actually fix them, not just restart the deploy.
A route that works locally can 404 in production due to a missing rewrite rule, an incorrect output directory, or a framework preset that does not match your project structure.
Vercel deploy logs show the exact build output and errors in order. Reading them from the top, rather than jumping to the end, usually surfaces the real cause quickly.
This is most often a missing rewrite or redirect rule, or an output directory setting that does not match your framework. See the deployment guide for the exact fix.
Yes. Environment variable changes only take effect on the next deployment, so a fresh deploy is required after updating one.