Skip to main content
Enhance supports Node.js applications alongside PHP websites, letting you run Express, Next.js, and other Node.js apps on your hosting.

Creating a Node.js application

  1. Log in to your Enhance control panel.
  2. Select the website where you want to run the app.
  3. In the left sidebar, click Developer toolsNode.js (location may vary by panel version).
  4. Enable Node.js for the website and select the Node.js version.
  5. Set the application entry point (for example, app.js or server.js).

Uploading your application

Upload your application files to the website’s document root using the File Manager, FTP, or SSH with git. A minimal Express.js example (app.js):
Your application must listen on the port provided by the environment (process.env.PORT). The platform routes web traffic to that port automatically.

Installing dependencies

Connect via SSH, navigate to your application directory, and run:
This installs the packages defined in your package.json.

Starting and restarting the app

After uploading files or installing dependencies, start (or restart) the application from the Node.js section of the panel. Restart the app whenever you deploy new code.

Troubleshooting

  • 502/503 errors: the app isn’t running or crashed on startup — check the application logs in the panel.
  • Module not found: run npm install again to ensure all dependencies are present.
  • Port errors: make sure the app listens on process.env.PORT rather than a hard-coded port.
If you need help deploying a Node.js application, our support team is happy to assist.