How to Deploy Next js App on cPanel | Learn how to host Next Js app on GoDaddy

preview_player
Показать описание
Learn how to deploy the Next js app on cPanel and shared hosting platform like GoDaddy

"build": "next build && next export"

2. Then remove all Image tag with img tag
3. Run Build Command
4. compress the file and deploy to cPanel

Get Source Code
Рекомендации по теме
Комментарии
Автор

My man you are a legend. Just saved me hours of headache trying to find out how to do this! <3

niels
Автор

Thanks a lot. Your tutorial is straight to the point. However, can you make another tutorial that explains how I can host a dynamic Next js Application with API (need node js) on cpanel. Thanks.

JoeMonye
Автор

What's the main difference between uploading exported static HTML files and creating NodeJS Application in the shared hosting? It seems uploading static HTML files is more efficient and hassle free.

JeafGilbert
Автор

For me I don't see any .out folder in repository what to do

rakeshkharvi
Автор

Please which hosting server supports both next js and Django together because my website comprises of both

cardinaldreampark
Автор

sir please make one video tutorial for crud operation with image upload in mysql database please

tempuser
Автор

What if I wanna use getserversideprops rather than static props?

ManishSharma-oein
Автор

using this, javascript is not working

reactjs
Автор

there is an issue when i refresh a page the page disappears saying "The requested URL was not found on this server." it does happen for all pages other than home page

aatiqaghazali
Автор

Server sider rendering ke sath cpanel me deployment ka ek video banaoye

krishnabasak
Автор

Dont use this method. This is just like uploading your static pages. You will have to install next and all on the cpanel itself.

anasmohammadsheikh
Автор

you can add this in next.config

const nextConfig = {
reactStrictMode: true,
images: {
unoptimized: true,
},
};

techgeektw