Replying to Avatar James A Lewis

Nextjs has server side rendering similar to PHP if you wanna stick to that paradigm. (Better for SEO)

Cpanel sucks, would avoid if you can. A lot of these js frameworks already have a web server built in and they usually conflict with cpanel bloat

Reply to this note

Please Login to reply.

Discussion

cPanel is a useful multi-site management backbone, and it's perfectly fine with a CloudFlare speedup. Definitely made for PHP hosting, though. I do agree, there's some conflict with routing traffic. Refreshing a page with a non-zero path causes the site to break, and I have to go back to root and refresh to get it to come back. Pretty annoying as I'm learning.

I found that the routing issue doesn't come up with the "hello world" basic NodeJS install (just an "It works!" message with version No.), only when I've uploaded my own code.