Home
Support Forums

New site deployment - 404 error

Following up per instructions in [Support Guide] I’ve deployed my site but I still see "Page not found”

Have checked, the build and deployment is successful. Confirm there is a index.html .

The problem site https://socialinkedin.netlify.app/

The problem? 404 error

Hi there, @raylink

Thanks for reaching out, and welcome to the Netlify Forums :netliconfetti:

Another common cause of this comes from not specifying in the deploy settings which folder to publish. If your project has a build which generates the site to publish, be sure to tell Netlify where to find that directory. In the example below, the “Publish directory” is dist

Can you confirm that your deploy settings are set correctly? You can find this in your settings at: https://app.netlify.com/sites/{YOUR_SITE}/settings/deploys#continuous-deployment

That was it. Dist directory name had to be set and it is now working. Many thanks. Perhaps a note in your 404 guide to help users.

1 Like

Post #2 in the guide you linked to in your original post does indeed note this :smiley:

1 Like

Amazing, I missed that even though remember doing it for another site. Many thanks.

1 Like