I deleted and recovered "not-found.tsx", then suddenly Vercel shows their own 404 page instead of my "not-found.tsx". #68398
Unanswered
DongeunPaeng
asked this question in
Help
Replies: 1 comment
-
Same issue, deleted vercel project and deployed on different provider. 404 on previously working page served from vercel... The vercel project that I deleted still messing with DNS records... Have not been able to fix even redeploy won't overwrite the zombie project. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
In my Next.js project, I mistakenly deleted the not-found.tsx file and deployed the project to Vercel. Later, I added the not-found.tsx file back to the project and redeployed it. Between the two deploy, nothing has changed. I didn't even type a new letter to any file.
Despite restoring the project to its original state, Vercel is not displaying the custom 404 page rendered by not-found.tsx. Instead, I see Vercel's 404 page.
I tried:
I'm curious what I missed.
Thank you, community!
(My project structure and the not-found.tsx file)

Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions