Deploy a SSG to Netlify #14332
-
My web app was building alright and being exported correctly, then I decided to go from pure static to SSG by adding SSGs cannot be exported, so there isn't an "out/" folder with an index file that can be served. Netlify builds as it should, but all I see when I go ahead and navigate to the preview URL is a 404 page. The only way I can think to sort this out is to point to the actual build folder, so Netlify can serve my web app correctly. Where is the build folder save after build? Any help would be great. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Netlify cannot handle dynamic sites, only static sites. Normally you'd run They do have serverless function capabilities that might work, but would require some additional setup. |
Beta Was this translation helpful? Give feedback.
Netlify cannot handle dynamic sites, only static sites. Normally you'd run
next start
to start up your dynamic Next site (which is a Node server at its core) but Netlify cannot handle that.They do have serverless function capabilities that might work, but would require some additional setup.