Creating and editing packages
How packages work and how to build one that matches what you want to offer.
A package is a template that defines what a hosting account gets: how much disk space and bandwidth, how many domains, subdomains, databases, and mailboxes, how much CPU and memory it may use, and which features are switched on. Instead of setting all of this by hand for every new account, you build a package once and apply it when you create an account.
Creating a package
- Click Packages in the sidebar, then the Create or update tab.
- Give the package a name customers will recognize, such as "Starter" or "Business".
- Set the disk space (MB) and bandwidth (MB per month) allowances. Any box on this form accepts 0 for "no limit".
- Set the maximum domains, subdomains, and databases, and the maximum email accounts with a quota per mailbox.
- Set a CPU share and memory limit if you want to cap how much of the server's resources an account on this package may use at once, and how many files (inodes), outbound emails an hour, cron jobs, extra FTP logins, mailing lists, and simultaneous page-serving processes (entry processes) it's allowed.
- Under Included in this plan, tick every feature this package should offer, such as databases, DNS editing, FTP, SSH and the terminal, scheduled jobs, Node.js applications, one-click applications, backups, and statistics. Anything left unticked is hidden from the customer and refused outright if they try to reach it directly.
- Click Save package.
Every package also includes, at no extra cost and with nothing to switch on, its own restricted PHP environment (its own temporary and session storage, with functions that launch other programs switched off) and isolated PHP (its own PHP program, which is what lets the CPU, memory, and process limits above actually reach its websites).
Editing an existing package
Open the package for editing by pressing Edit on its row in the Packages tab, which loads it back into the Create or update form. Saving updates the same package rather than creating a new one. Disk space, bandwidth, CPU, memory, and process limits are all re-applied in the background to every account already on that package, so raising or lowering any of these reaches existing customers too, not just new ones.
Assigning a package to an account
You can set a package when creating an account, or change an existing account's package at any time from its Manage dialog, on the Plan tab, useful when a customer upgrades or downgrades their hosting plan.
Defaults for new packages
On the Defaults for new packages tab, you can set the figures a brand new package starts with, so you set them once instead of on every package you create. This never changes a package that already exists; use Update all my packages now on the same tab if you also want to copy those figures into packages you already have (only boxes a package left at 0 are filled in).
Moving packages to another server
The Import & export tab lets you download all of your packages as a single file, and upload one to bring packages in, useful when setting up a new server to match this one rather than recreating every package by hand.
Default limits for accounts with no package
An account with no package at all, most often one brought in through a migration, can still be given a sensible CPU, memory, and process ceiling so it doesn't run unrestricted. This is set once for the whole server under Service Configuration, on the Panel tab, in the "Default limits for accounts with no package" section. It applies to every package-less account already on the server as well as to any created from now on.