Node.js with NGINX Unit
This procedure applies only when DirectAdmin displays Advanced Features → NGINX Unit. If it is absent, support must first confirm service availability.
Create an application
- Upload the project and verify that the entry file exists. DirectAdmin rejects a configuration when the selected file is missing.
- Open NGINX Unit → Create application.
- Enter a simple name without spaces or special characters.
- Select Node.js and an installed version.
- Set the working directory and project entry file, such as
app.js. - Save the application.
Assign a route
Create a route and select the domain or subdomain. Use / for a dedicated application. A path such as /app/ works only when the application itself is configured for that base path.
The route must pass requests to the created application. Avoid editing raw JSON unless you fully understand its schema and effects; DirectAdmin validates paths and prevents cross-user routing.
Node.js entry file
Use a production entry file supported by the project. NGINX Unit integrates Node.js through its module; do not assume an arbitrary development command or hard-coded public port works unchanged. Consult support for frameworks without a verified Unit procedure.
Maintenance and lifecycle
Restart the application after dependency or build changes and test through HTTPS. The NGINX Unit project has been archived and receives no new features since October 2025, so Euroserver may restrict availability and supported runtimes per server.
NGINX Unit, the NGINX web server and CloudLinux Node.js Selector are separate components.