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

preview_player
Показать описание
Step - 1
Create a Next js App

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

Step - 3
&

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
Рекомендации по теме
Комментарии
Автор

you must change ur title yt with next js page not app, this tutorial is showing about how to deploy next js page router not app. ty

gededestrawan
Автор

why do you need to create a custom server? couldnt you just use next start?

tiagomendes
Автор

When i typ Node the aptions for the Node js setup not showing. Is there any issue in my Cpanel? if yes please guide me how will i slove the issue?

Yousafzai
Автор

hello sir i have upload next js app in plesk after followed all step when i hit on
url it showing me coming soon...

ameysawant
Автор

503
Service Unavailable
The server is temporarily busy, try again later!

it show this msg in page

bdjlupo
Автор

i take so long for npm run dev in cpannel what is the problem ? it says Can't acquire lock for app: %(app)s

alfiandm
Автор

Is it possible to make SSR in cpanel? You need a VPS server for this, right?

sufiirumi
Автор

It's not working for me. Could you please help me.

LudoKingChallenge
Автор

How do I run Prisma with nextjs in cpanel? I set the environment variable, but it doesn't recognize it.

Antonio-nnkq
Автор

is that on Namecheap shared hosting? it only renders static sites right or does it run SSR also?

AbdelkaderSoudani
Автор

can i deplay with prisma, app router and serveur compenent in cpanel

mykus
Автор

sir can u dot his same with hostinger panel??? plzz sir make video i am waiting for that. plzz upload today sir

office
Автор

please help me bro im getting 503 error

unlimitedmemes-fupr
Автор

its not working its just showing index of/ whatever is in the public_html

anuj.beniwal
Автор

Hi Sir,
Need a help from you regrading deployment of nextjs in a shared server in cpanel,
As currently stuck by an issue when trying to run npm start
This is issue i am getting, please help me out

return await WebAssembly.instantiate(mod, {
^

RangeError: WebAssembly.instantiate(): Out of memory: Cannot allocate Wasm memory for new instance
at lazyllhttp

Node.js v19.9.0

soumyaranjan