How to host a full stack Nuxt3 app on cPanel
Hello, I created a nuxt app that I need to host on shared hosting on cPanel, how do I do it.
I run nuxt build which created an output folder which I uploaded to cPanel public_html folder.
The cPanel server supports the latest Node version, version 20, but when I run the app it gives me a "503 Service Unavailable, The server is temporalily busy, try again later".
I do not have access to SSH
Please help
3 Replies
unfortunately, cpanel doesn't support esm. so, you cannot run nuxt ssr on it. instead you only able to deploy nuxt static with cpanel
Sorry for the late reply. You can host it, but there's a couple of pre-requisites.
This github discussion has more details.
https://github.com/nuxt/nuxt/discussions/25910#discussioncomment-10396305
GitHub
Can I deploy nuxt 3 in cpanel ?? · nuxt nuxt · Discussion #25910
Hi, I needed to deploy my nuxt 3 built file in cpanel(not static one). I decided to use webpack instead vite as i can have the index.html and then I can deploy this in cpanel to have a fully dynami...
hi @brunomgmateus ,
Is it possible to do the build process without being in the panel?
so, building in local devices then upload using file manager cpanel then do setup nodejs app