This will show you the steps needed to create a custom startup file for ea-nodejs which overrides the default name of "app.js" which Passenger searches for.
Begin by creating an Apache include in the following location: (Be sure to replace
$DOMAIN with the appropriate cPanel username and domain name)
Populate the file with the following information and modify it according to your needs:
# Use server.js as the startup file (entry point file) for
# your Node.js application, instead of the default app.js
Rebuild and restart the Apache configuration:
/scripts/rebuildhttpdconf && /scripts/restartsrv_httpd
For more details view our NodeJS documentation.