I've been banging my head against this one for over a week now. I've also been up one side of the internet and down the other looking for answers.
My hosting company set up Passenger for me on the VPS (CentOS).
My app loads the index page, and if I pass login data, properly returns from the database. However, none of the other routes work. They all return 404 errors. Again, the index route, which is in the same folder as the others, loads without issue. The app is on a subdomain, but runs from /home/user/app.
It almost seems to me like maybe Apache is attempting to handle it rather than Passenger, but I don't even know where to begin trying to fix that. Is there a bit of configuration I'm missing?
Everything works fine locally, and on a server running only Node.
EDIT: Models, views and public folder assets load without issue.