Docs / Modules / Websites & hosting

cPanel

Manage a cPanel host: files, databases, email, domains, SSL, cron jobs, backups and shell commands on the server.

What you need

Your host address, cPanel username and an API token created inside cPanel.

Connect

  1. In Harnes Code open Settings → Manage modules.
  2. Press “Connect” on this module and fill in the fields below.
  3. Press “Test and save”.

Fields

  • Host address
  • Port (usually 2083)
  • cPanel username
  • API token — cPanel → Security → Manage API Tokens → Create.
  • cPanel password (optional) — only for running shell commands on the host.

Example requests

Upload the dist folder to public_html, but back up the current version first

Create a MySQL database called shop with a new user and give me the credentials

Read the site error log and tell me why the home page returns 500