Next.js Discord

Discord Forum

How to host Nextjs app using CPanel?

Unanswered
Shayokh posted this in #help-forum
Open in Discord
I have account in a hosting service called Mellowhost https://mellowhost.com/. It offers CPanel but I have never hosted a NextJs project using CPanel. All this time I have been using vercel. Can someone please provide me the steps of uploading NextJs app to CPanel.

Note: I have tried searching but most of the tutorials are outdated to pages route. My application is in app route.

9 Replies

IIRC, you can only deploy static build to Cpanel
@"use php" IIRC, you can only deploy static build to Cpanel
Umm can you explain please?
It's asking for these info
I'll let you know when I'm free
You can follow these steps:
https://shaxadd.medium.com/deployment-pipeline-tutorial-deploy-react-app-to-cpanel-via-github-actions-0378721f803d

Everything is same except commands, and maybe output dir
@Shayokh if resolved, mark above message as solution