How to Deploy Next js App on Cpanel | Learn how to host Next js App on Namecheap Hosting Server

Описание к видео How to Deploy Next js App on Cpanel | Learn how to host Next js App on Namecheap Hosting Server

Step - 1
Create a Next js App

Step - 2
NPM install & NPM run dev
to sure website work properly

Step - 3
Create a file server.js app root folder
&
package.json file scripts area edit
"start": "NODE_ENV=production node server.js",

Step - 4
NPM build for uploaded in server

Step - 5
zip all the file except node_module
&
unnecessary file

Step - 6
Login Cpanel
create a folder in File manager
then upload zip file in here
last configure Cpanel Node Js

Комментарии

Информация по комментариям в разработке