ConvoqDocumentation Version 1.0.0

Run the platform · Install

Install on cPanel

For shared hosting with the Setup Node.js App feature. Everything is done in the browser.

Your hosting plan needs the Setup Node.js App feature (CloudLinux Node.js Selector). If you cannot find it in cPanel, ask your host, or use a VPS.

#1. Point a domain at the hosting

  1. In cPanel open Domains and add the domain or subdomain you want to use, for example chat.your-domain.com.

    1. Create A New Domain.
    2. The domain appears in the list.
  2. Where the DNS of the domain is managed, add an A record for it that points to the IP address of your hosting account. cPanel shows that address as Shared IP Address.

  3. Open SSL/TLS Status and run AutoSSL for the domain. Wait until it shows a green padlock.

    1. A green padlock: the domain has a certificate.
    2. Domain Validated. A certificate from your host or one you installed yourself works the same way.

#2. Create the database

  1. Open MySQL Database Wizard.

  2. Create a database. cPanel adds your account name in front, so convoq becomes something like yourname_convoq.

  3. Create a user and a strong password. The user name gets the same prefix.

  4. Add the user to the database and tick All privileges.

  5. Write down the three values with their prefix: database name, user name and password. The wizard asks for them later.

To check the result, open Manage My Databases:

  1. The database, with the prefix of your account.
  2. The user that may use it.

#3. Upload the files

  1. Open File Manager and create a folder outside public_html, for example convoq.

  2. Upload the zip file into that folder and extract it.

    1. Upload the zip file.
    2. Select the zip file in the list.
    3. Press Extract.
    4. The extracted folder.
  3. Open the extracted folder and check that server.js is directly inside it. The path to that folder is your application root, for example convoq/convoq.

    1. The path of the folder. This is the application root.
    2. server.js is directly inside.
    3. stderr.log appears once the application has run. Errors are written to it; see Troubleshooting.

    The picture is from a running installation. A fresh folder has no .env, node_modules or stderr.log yet.

#4. Create the Node.js application

  1. Open Setup Node.js App and press Create Application.

  2. Fill in the form:

    1. Node.js version: 20 or newer.
    2. Application mode: Production.
    3. Application root: the folder from step 3, the one that holds server.js.
    4. Application URL: your domain or subdomain. Leave the field next to it empty.
    5. Application startup file: server.js.
  3. Press Create at the top right of the form.

  4. Open your domain in a new browser tab. It shows a page called One more step. That is correct: the packages are not installed yet.

  5. Back in cPanel, install the packages and restart:

    1. Press Run NPM Install and wait until it finishes. This takes a few minutes.
    2. Press Restart.
  6. Open your domain again, with https://. The setup wizard starts.

If Run NPM Install answers "Web application is inaccessible by its address", the domain does not reach your hosting yet. See Troubleshooting.

#5. Keep the application awake

Shared hosting stops an application that has no visitors for a while. While it is stopped, WhatsApp (QR) numbers are offline and scheduled work waits. Add a Cron Job in cPanel that runs every five minutes:

curl -s https://your-domain.com/api/health > /dev/null

If your host does not allow long-running applications at all, use a VPS instead.

Convoq documentation, version 1.0.0. Screens show demo data.