Knowledgebase

Find frequently asked questions and setup guides by searching or by browsing the categories.

Side by Side

cPanelDirectAdmin
InterfacesWHM for admin, cPanel for usersOne login, three levels
Account levelsRoot, reseller, userAdmin, reseller, user
SystemsAlmaLinux, Rocky, CloudLinux, Ubuntu LTSRHEL and its derivatives, Debian, Ubuntu
DebianNot supportedSupported
Web serverApache; LiteSpeed or Nginx proxyApache, Nginx, OpenLiteSpeed, LiteSpeed
Build toolEasyApache 4CustomBuild
Documented minimum memory2 GB4 GB plus 4 GB swap
Admin port20872222
User port20832222

Both vendors update their supported system lists with new releases; check the current list before you install.

Interface and Account Levels

cPanel splits the work into two interfaces. WHM is for the server administrator and resellers: accounts, packages, server settings, and updates. cPanel is what each hosting account sees: files, domains, mail, and databases. WHM is described in what is WHM.

DirectAdmin uses one interface with three levels. The administrator, a reseller, and a user log in at the same address and see the menus for their level; an administrator can switch to the user level without a second login.

Features

  • Common ground: both manage websites, subdomains, mail accounts, spam filtering, DNS zones, MySQL or MariaDB databases, Let's Encrypt certificates, FTP, cron jobs, and per-account backups.
  • cPanel: a larger set of built-in tools and a wide range of third-party plugins, with many guides and tutorials written for it.
  • DirectAdmin: a smaller core, with CustomBuild to choose and rebuild the web server, PHP versions, and other components from the command line.

Resource Use

Both vendors publish minimums, and a production server should have room above them. cPanel's documentation for AlmaLinux sets 2 GB of memory and 20 GB of disk as the minimum, recommends 4 GB and 40 GB, and advises at least 3 GB when ClamAV is installed. DirectAdmin's documentation asks for at least 4 GB of memory with at least 4 GB of swap and 2 GB of free disk space beyond the operating system and site data. In practice the sites, databases, and mail on the server use far more than either panel. How much memory a server uses is covered in how to check memory usage in Linux.

Installation

Both are installed on a fresh server, after a snapshot, and never on a server that already runs another panel. cPanel uses its installer script, described in how to install cPanel. DirectAdmin uses a setup script from its website together with a license key. For either one, download the script to a file, read it, and then run it as root.

Restrict the admin ports (2087 for WHM, 2222 for DirectAdmin) to your own IP address in the firewall, keep the rule for SSH, and test SSH in a second session before you close the first.

Moving Between Them

  • cPanel to DirectAdmin: DirectAdmin documents a conversion tool, cpanel_to_da, that turns cPanel account backups into DirectAdmin backups for restore.
  • DirectAdmin to cPanel: WHM's Transfer Tool lists DirectAdmin as a source server type. It needs root access to both servers, and hosting packages are not carried over.
  • Test first: restore a few accounts on the new server and check mail, cron jobs, and PHP versions before you move DNS.

Mail passwords, custom PHP settings, and DNS records are the parts that most often need a manual check after a move.

Who Each One Suits

  • cPanel suits you if your customers or staff already know it, you need a specific cPanel plugin, or you follow the many guides written for it.
  • DirectAdmin suits you if you run Debian, or want to choose and rebuild the web server and PHP stack yourself with CustomBuild.
  • Either fits a reseller setup or a server with many websites; both are mature and widely used.

If Plesk is also on your list, see cPanel vs Plesk. Running a panel on an unmanaged server means you are responsible for its updates; see managed vs unmanaged VPS.

Was this answer helpful?
Loading...