Next.js Discord

Discord Forum

can we host nextjs on cpanel , and postgresql on cpanel

Unanswered
Briard posted this in #help-forum
Open in Discord
BriardOP
i saw no options to deploy nextjs apps, my company have big server with cpanel so what can i do about it, how can i use it ?
+
ALSO i dont see postgresql in cpanel is there anything wrong? or cpanel doesnt support postgresql as well

20 Replies

@Briard i saw no options to deploy nextjs apps, my company have big server with cpanel so what can i do about it, how can i use it ? + ALSO i dont see postgresql in cpanel is there anything wrong? or cpanel doesnt support postgresql as well
I personally wouldn't recommend deploying on cPanel, since you'll run into many issues.

But I guess you can create a standalone build and run it as a javascript file in cPanel
also why postgresql dont show in cpanel
@Briard also why postgresql dont show in cpanel
I have never used cPanel, so idk
American Chinchilla
I dont think postgres is in CPanel, currently its PHPMyadmin which uses mySQL.
You would either need to install/setup postgress in Cpanel which im not sure how to
@Briard i saw no options to deploy nextjs apps, my company have big server with cpanel so what can i do about it, how can i use it ? + ALSO i dont see postgresql in cpanel is there anything wrong? or cpanel doesnt support postgresql as well
Masai Lion
Just to let you know, there's this thing called Google, trust me, it has answers to almost everything. Yeah, I know you're shocked, I was shocked too when I found out about it, oh you are welcome too no need to thank me. 😊
@Briard i saw no options to deploy nextjs apps, my company have big server with cpanel so what can i do about it, how can i use it ? + ALSO i dont see postgresql in cpanel is there anything wrong? or cpanel doesnt support postgresql as well
Masai Lion
well well, Guess what i just googled "does cpanel support node js", and it said it does indeed support nodejs.
https://docs.cpanel.net/knowledge-base/sql/install-or-update-postgresql-on-your-cpanel-server/

so, obviously nextjs must be supported too, then I googled "does cpanel support next js"

and, I found this:
https://medium.com/@geevadon/how-to-deploy-a-next-js-app-on-cpanel-efficiently-c00c5eb860de

https://dev.to/saad4software/run-nextjs-app-in-shared-hosting-cpanel-domain-1d4g

Isn't it amazing? We live in a modern world where a mere Google search can solve most problems in a matter of seconds 😊
also, i personally recommand to use vercelfor hosting, rather than cpanel(which usually seems to be only use in php stuff)
@Masai Lion Read from the replied message, I just wasted my 5 minute writing and my native language isn't even english πŸ₯±
BriardOP
i dont care about your opinion and about your answer and i dont care about google
i asked question if you dont have to answer it just dont
By the way, I searched for my question on Google (clever of you to notice). I was just looking for a way to host my database using the resources I already have, not a native method. I already know it’s not officially supported, but there might be a workaround. (You should first understand the whole context of the question before you comment.)
@Masai Lion Read from the replied message, I just wasted my 5 minute writing and my native language isn't even english πŸ₯±
BriardOP
next time dont comment and be harsh on a something you know nothing about ( i can write in your native language if you want )
@Briard next time dont comment and be harsh on a something you know nothing about ( i can write in your native language if you want )
American Chinchilla
Sorry for any miscomments, may I please remind that we are all volunteers here giving our time, if an answer does not resonate well with you please be respectful. Appreciate your cooperation. πŸ‘
@Masai Lion Just to let you know, there's this thing called **Google**, trust me, it has answers to almost everything. Yeah, I know you're shocked, I was shocked too when I found out about it, oh you are welcome too no need to thank me. 😊
American Chinchilla
Also , we encourage every helper to also be respectful. I understand the good intentions of your comment. It may not sit well with others so lets keep it professional. πŸ‘ thanks.