Managing Node.js in Thamara
Using the Node.js extension, you can:
◦ Enable Node.js for a domain or subdomain.
◦ Upload and run your app (e.g., Express.js, Next.js, etc.).
◦ Manage environment variables.
◦ Restart or stop your app from Plesk.
◦ Log in to your Plesk Dashboard.


- Deploying a Node.js Application
Upload your app files to the desired domain’s root directory (usually
/httpdocsor a custom path).In the Node.js tool, set the following:
Document Root: Path to your app folder.
Application Startup File: e.g.
app.js,index.js, orserver.js.Application Mode: Choose between Development or Production.
Click Enable Node.js to activate your app.
Once enabled, Plesk automatically sets up the runtime and environment for you.
- Environment Variables & Logs
Inside the Node.js panel, you can:
◦ Add or edit environment variables (e.g.PORT,NODE_ENV,DATABASE_URL).
◦ View logs directly from the panel to monitor runtime messages or errors.
◦ Restart or stop your app at any time.
- Important Notes for Shared Hosting
◦ Node.js apps run under your account’s user environment — no root privileges.
◦ Some modules that require system-level compilation may not be supported.
◦ The default port (usually80or443) is managed automatically by Plesk’s reverse proxy — you don’t need to configure it manually.
◦ Always deploy apps using relative paths and avoid hardcoded ports.- Support Tip
If your app fails to start:
◦ Check your startup file path.
◦ Review logs for syntax or runtime errors.
◦ Ensure all dependencies are installed (npm installinside the app directory).
◦ Restart Node.js from the Plesk panel after any change.