can we host nextjs on cpanel , and postgresql on cpanel
Answered
Briard posted this in #help-forum
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
+
ALSO i dont see postgresql in cpanel is there anything wrong? or cpanel doesnt support postgresql as well
Answered by Anay-208 | Ping in replies
I just recommend you to ignore him.
Yes, it's true that some cPanel Providers don't support PostgreSQL as it is the option of the server owner whether to allow it or not.
Yes, it's true that some cPanel Providers don't support PostgreSQL as it is the option of the server owner whether to allow it or not.
38 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
But I guess you can create a standalone build and run it as a javascript file in cPanel
@Anay-208 | Ping in replies 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
BriardOP
but this is not reommended right? we can just do it in vercel is there any problem?
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
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 😊
@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. 😊
Masai Lion
Read from the replied message, I just wasted my 5 minute writing and my native language isn't even english 🥱
also, i personally recommand to use
vercel
for 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.
@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. 👍
BriardOP
thanks for answering but the guy were very rude
i appreciate people time
@Briard 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
Oh wow, that's great! 😉
Also:
I answered what you initially asked, so I'm not sure what you meant by "context."
Either I'm too dumb to comprehend your grand knowledge, or you didn't specify the "context."
And from your other message:
It seems you're clearly asking how to use PostgreSQL in cPanel.
So I googled it and found out that cPanel does support PostgreSQL and I replied accordingly. Nothing more.
Also:
ALSO i dont see postgresql in cpanel is there anything wrong? or cpanel doesnt support postgresql as well
i saw no options to deploy nextjs apps
I answered what you initially asked, so I'm not sure what you meant by "context."
Either I'm too dumb to comprehend your grand knowledge, or you didn't specify the "context."
And from your other message:
Also, why doesn't PostgreSQL show up in cPanel?
It seems you're clearly asking how to use PostgreSQL in cPanel.
So I googled it and found out that cPanel does support PostgreSQL and I replied accordingly. Nothing more.
@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 )
Masai Lion
please kindly write in my native lanuage, i did be more than happy 😋
@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.
Masai Lion
I did prefer to help in a silly way for silly questions 😊
but thanks for your reminder
i will keep it in my mind
@Masai Lion Oh wow, that's great! 😉
Also:
> ALSO i **dont see postgresql in cpanel** is there anything wrong? **or cpanel doesnt support postgresql** as well
> i saw no options to deploy **nextjs apps**
I answered what you initially asked, so I'm not sure what you meant by "context."
Either I'm too dumb to comprehend your grand knowledge, or you didn't specify the "context."
And from your other message:
> Also, why doesn't PostgreSQL show up in cPanel?
It seems you're clearly asking how to use PostgreSQL in cPanel.
So I googled it and found out that cPanel **does** support PostgreSQL and I replied accordingly. Nothing more.
BriardOP
i dont need your search , some cpanels dont support postgresql , ur search is misscomplete ,
dont talk at all ki
d
@Briard i dont need your search , some cpanels dont support postgresql , ur search is misscomplete ,
Masai Lion
To be completely honest, I’ve never seen a dumbass like you. I did try to help you in a sarcastic way, and not only did you not get it, you also claimed it was “out of context”, when the question was clearly asking, and could easily be rephrased as: "Does cPanel support PostgreSQL and Node.js?"
WTF do you mean by “some cPanels”? There’s only one cPanel, which you can download from https://www.cpanel.net/.
Everything else is just a alternative of cpanel. If you’re referring to a different panel, then say so and mention the actual name of that alternative.
Now that I think about it, you might be talking about the cPanel provided by shared hosting services which, obviously, you don't own, and of course, you can't add PostgreSQL there because you don’t have access or maybe perhaps you are talking about different version.
You're the one who’s incomplete. You didn’t even justify your previous response or said anything why it was incorrect.
Seriously? You’re calling me a kid?
You look like you were just born and what’s with that mirror image, looks like a 16-year-old clown? 🤡
Here's my thought, and I hate to be the “paragraph guy” but you don’t know what you're talking about. Your questions are incomplete and out of context. 👍
“Some cPanels don’t support PostgreSQL”
WTF do you mean by “some cPanels”? There’s only one cPanel, which you can download from https://www.cpanel.net/.
Everything else is just a alternative of cpanel. If you’re referring to a different panel, then say so and mention the actual name of that alternative.
Now that I think about it, you might be talking about the cPanel provided by shared hosting services which, obviously, you don't own, and of course, you can't add PostgreSQL there because you don’t have access or maybe perhaps you are talking about different version.
“ur search is misscomplete”
You're the one who’s incomplete. You didn’t even justify your previous response or said anything why it was incorrect.
“Don’t talk at all kid”
Seriously? You’re calling me a kid?
You look like you were just born and what’s with that mirror image, looks like a 16-year-old clown? 🤡
Here's my thought, and I hate to be the “paragraph guy” but you don’t know what you're talking about. Your questions are incomplete and out of context. 👍
Took some time to write this sh*t of paragraph..
Masai Lion
I will be unfollowing this thread now
@Briard i dont need your search , some cpanels dont support postgresql , ur search is misscomplete ,
I just recommend you to ignore him.
Yes, it's true that some cPanel Providers don't support PostgreSQL as it is the option of the server owner whether to allow it or not.
Yes, it's true that some cPanel Providers don't support PostgreSQL as it is the option of the server owner whether to allow it or not.
Answer
@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
If your issue isn't already resolved, I recommend using standalone servers: https://nextjs.org/docs/app/api-reference/config/next-config-js/output#automatically-copying-traced-files
I'm not sure if it'll work on cPanel
@Briard 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.)
Google can sometimes have outdated solutions.
Instead of engaging in arguments, either ignore or block the person. It'll save a lot of time
@Anay-208 | Ping in replies Google can sometimes have outdated solutions.
BriardOP
thanks for your time !
@Briard thanks for your time !
Can you mark solution if its resolved