Support Forums

I have linked my netlify project with my gitlab account but even after successful deployment of my react app, It says "Page Not Found Looks like you've followed a broken link or entered a URL that doesn't exist on this site."

  • my netlify sitename: https://xenodochial-banach-74681b.netlify.app/
  • DNS: https://upflux.org/

Hi @Two_Skill

The first place to start is reading over

It says published deployed, but still give error " Page Not Found
Looks like you’ve followed a broken link or entered a URL that doesn’t exist on this site."

Are all the files you expect to exist present in the downloaded zip file? Is there an index.html file? Is everything in the root or in a sub-directory?

this are all the files

I appears like the source files of your react app were deployed, and not the built site. What are your build settings?

You have not set a build command on publish directory.

You need a build command (e.g. npm run build) and a publish directory (e.g. build).

Check this documentation and this documentation for more.

1 Like

thank you @coelmay . now its working. :innocent: :raised_hands: :clinking_glasses: