Deploy to cPanel Automatically

Push code to cPanel automatically with SENDR. Connect Git, ship every push, and atomic-swap your document root with zero downtime.

What is cPanel deployment?

cPanel is the web-hosting control panel behind Whogohost, Namecheap, and most budget hosts. Your site lives in a document root like /home/username/public_html. Deploying means getting your built files into that directory on every change.

The manual cPanel workflow

Normally you log into cPanel, open the File Manager or an FTP client, and copy files into public_html. It works, but it is manual, easy to forget, and impossible to roll back cleanly. SENDR removes all of that.

How SENDR deploys to cPanel

Connect a Git repo, add a cPanel/SFTP target pointing at your document root, and every push triggers a deploy. SENDR uploads the artifact and atomically swaps it into place, so visitors never see a half-written directory.

Configure a cPanel target

sendr init
# Dashboard -> Add target:
#   name: Production cPanel
#   type: cpanel
#   host: cpanel.yourhost.com
#   deployPath: /home/username/public_html

Deploy to cPanel

sendr deploy --wait

Rollbacks on cPanel

SENDR retains previous releases. A rollback re-points the live directory at the last good build in one click, with no rebuild and no downtime.

Related