Community

Has anyone been able to successfully run NuxtJs app on CyberPanel VPS?

sr
srijay #1

I’ve recently moved from using shared hosting to a VPS. I’ve successfully installed CyberPanel and successfully ran PHP websites. However, I’m now trying to run a NuxtJs app and I cannot find any tutorial of sorts for that. I’ve found some resources on running Node app but those didn’t work for Nuxt. CyberPanel has LiteSpeed and using that I saw some resources telling me to reverse proxy for Nuxt. I can start the Nuxt app via ssh and but cannot access it via domain or the IP. Does anyone have any experience regarding this?

jo
josephgodwinke #2

Welcome @srijay Happy you are here

Kindly share the tutorials you have followed here.

Nuxtjs has a tutorial already on how to deploy using pm2 via ssh Nuxt 2 - PM2. You cannot deploy any nodejs app on CyberPanel without such access

sr
srijay #4

I have sucessfully deployed Nuxt app and started it with pm2. However i cannot get it to show when i type in my domain name or even the IP address. It shows 404 error.

sr
srijay #5

Thanks, please do.

jo
josephgodwinke #6

Have you tried the internal monitoring to see if the app is still running and errors?

# Display all apps logs in realtime
$ pm2 monit

Sign in to reply