Next.js Discord

Discord Forum

404 on Vercel deployment

Unanswered
Ɠị۸ή posted this in #help-forum
Open in Discord
Avatar
Hello everyone, so i made my portfolio using Next typescript and i tried to deploy it on Vercel, it worked but any url i give returns a 404.

The image is the repository structure, couldn't be more simple.
It's actually my first time deploying anything other than a github page with html/css so i have stom problems understanding it all :)
Image

6 Replies

Avatar
Sun bear
Also the homepage returns 404?

The pages folder inside tge app folder is confusing to me.

Means the page is yourdonain.com/pages

What is inside your pages folder and what url returns 404?
Avatar
yeah homepage returns 404 and i have a folder in page for every pages i have so about projects and contact
for example /pages/contact returns a 404 even tho there is a page.tsx in it
alsoit works out just fine on local
Avatar
Blue swimming crab
Have you found a solution? I'm also encountering this issue, it's quite strange.
Avatar
nah i didn't find anything actually