I'm trying to deploy my nextjs project on cpanel but I got blank page
Answered
Sarowar 🇧🇩 posted this in #help-forum
I'm trying to deploy my nextjs project on cpanel but I got blank page . In my local machine it working good
Here is my GitHub repo
https://github.com/sarowarhosen03/Nextjs-issu
Here is my GitHub repo
https://github.com/sarowarhosen03/Nextjs-issu
18 Replies
@dumbboy could you explain a bit on what information you are expecting? because the OP thinks all necessary information is in the repo already
@Sarowar 🇧🇩 you can bump post by sending any messages here - then it will float to the top of the #help-forum channel. don't do it more than once a day
about this question, i don't deploy on cpanel so i can't answer. cpanel is also not a popular way to deploy nextjs apps, hence very few people may be able to help you, so you need to be patient here
and be ready for the fact that maybe no one is able to help at all
@joulev <@839454110302732309> could you explain a bit on what information you are expecting? because the OP thinks all necessary information is in the repo already
Sorry I'm no expert in Cpanel, But he can explain how he deployed right? just repo is not enough to figure out IMO. Just thought he might add more data.
Cpanel is popular to other. Our company want depoly on cpanel. Im deploy my this project on cpanel when I'm visit i got blank page (view source no HTML) https://github.com/sarowarhosen03/Nextjs-issu. .
I think nextjs do something to support nextjs everywhere
I think nextjs do something to support nextjs everywhere
@dumbboy Sorry I'm no expert in Cpanel, But he can explain how he deployed right? just repo is not enough to figure out IMO. Just thought he might add more data.
got it. @Sarowar 🇧🇩 ^ see this for the reason why they add that nextjs bot message
Answer
@Moinul Moin <@1055498269704323093> this may help you broh!
https://www.youtube.com/watch?v=DIGcudGtzjI
Thanks i will check it and get back soon
European sprat
looks like that video goes over what you need but you should also read the docs... https://nextjs.org/docs/app/building-your-application/deploying/static-exports
@Moinul Moin <@1055498269704323093> this may help you broh!
https://www.youtube.com/watch?v=DIGcudGtzjI
@European sprat @Moinul Moin this static export is equal to server deploy? Both are same? I'm looking for server deploy
European sprat
static export means HTML/CSS/JS and you host the static files
if you want a standalone build that you can use nodejs to run, use output standalone
agree
Thank you so much. Please let me know, i can get every feature working with this static deploy ?
@Sarowar 🇧🇩 Thank you so much. Please let me know, i can get every feature working with this static deploy ?
brother, read those docs, you will get all the details! just go through it
@Moinul Moin brother, read those docs, you will get all the details! just go through it
Okay thanks, thanks everyone for give me your valuable time