Next.js Discord

Discord Forum

Next js Build

Unanswered
Nile Crocodile posted this in #help-forum
Open in Discord
Nile CrocodileOP
Is it enough to create an output file to publish Next js project to cpanel? Or do I need to do other things? Also, can wordpress and subdomain events be handled with the out file?

6 Replies

Yes ...go to out folder .select all files and folders and compress them as a .zip file. Then upload it to cpanel and once .zip file is uploaded, you can unzip it. Thats all!
build folder would be sufficient for deploying a static application to cpanel
As I told you for a static application , build folder is sufficient. But for a dynamic application , there should be a different approach.
You welcone