Next js Build
Unanswered
Nile Crocodile posted this in #help-forum
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!
@bscdev#1145 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!
Nile CrocodileOP
What I want to ask is, isn't the build file sufficient for WordPress and subdomain?
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.
@bscdev#1145 As I told you for a static application , build folder is sufficient. But for a dynamic application , there should be a different approach.
Nile CrocodileOP
Thank you very much for your answers.
You welcone