Customers and resellers
Resellers and white label
Let resellers run their own customers and packages within limits, and give them their own brand, panel hostname, mails, status page, login page, reports and webmail.
On this page
A reseller sells hosting under their own name on your server. In Berth a reseller has their own login, their own customers and optionally their own packages, all within limits you set, and their customers see the reseller's brand instead of yours. This article covers creating resellers, what they can and cannot do, and the white-label options.
What a reseller can do
A reseller manages their own customers: creating them, their subscriptions, domains and logins, logging in as one of their customers, suspending them, and moving subscriptions between their own customers. They can reset a customer's second factor when the customer has lost it. Their menu shows Customers, Packages, Activity, Limits, Branding, AI and credits and Integrations.
Everything at server level stays with the administrator: system settings, firewall, backup storage, PHP versions, certificate authorities, single sign-on and other resellers. Roles are compared in Roles and permissions.
Creating a reseller
Panel: Admin → Resellers → Add reseller. Enter login, name and e-mail; leave the password empty to have one generated and shown once.
printf '%s\n' "$PW" | berth reseller create --login reseller1 --name "Example Hosting" \
--email office@example.nl --max-customers 50 --max-subscriptions 80 \
--disk-mb 100000 --own-plans --password-stdin
berth reseller list
berth reseller show --login reseller1Limits
Limits apply to all the reseller's customers together; 0 means unlimited.
| Limit | Flag |
|---|---|
| Customers, subscriptions | --max-customers, --max-subscriptions |
| Domains, mailboxes, databases | --max-domains, --max-mailboxes, --max-databases |
| Disk space: the sum of the package values of their subscriptions | --disk-mb |
Oversell: allow more disk to be assigned than --disk-mb | --oversell |
| Own packages | --own-plans |
| Custom nginx/Apache rules in their customers' packages | --custom-web-directives |
| Monthly AI budget for all their customers together, in credits | --ai-credits |
berth reseller update sets name, e-mail and limits; give all limits again, because the command sets the full set. The AI budget matters because AI usage runs on your provider keys: when it is used up, AI stops for that reseller's customers until the month is over.
Packages for resellers
A reseller uses the packages you release to resellers, plus their own if --own-plans is set:
berth plan set --name basis --php 8.3 --disk-mb 10240 --for-resellersPackages a reseller makes themselves have no resource isolation settings; CPU, memory and IO limits belong to the server owner. See Customers, subscriptions and packages for what each package setting does.
Moving existing customers to a reseller
On the customer page under Reseller, or:
berth reseller assign --customer acme --login reseller1
berth reseller assign --customer acme --login "" # back to the administratorThe customer's subscriptions must be on packages the reseller may use.
Suspending a reseller
berth reseller suspend --login reseller1 closes the reseller's logins and all their customers. unsuspend reopens them, except customers that were suspended for another reason.
White label: the reseller's own brand
A brand has:
- a name, used in the menu, the browser tab title and mails;
- a main colour and an accent colour, with a contrast warning; the panel lightens the main colour in dark mode;
- a logo for light mode and an optional one for dark mode (PNG or JPEG), and a favicon (square PNG; without one, the logo is used);
- a helpdesk e-mail address, where replies to panel mails go, and a helpdesk URL, shown as Help at the bottom of every page and in mail footers.
The branding page shows a live preview in light and dark; others see the changes after Save.
Where to set it:
- A reseller: Branding in their own menu.
- The administrator, for a reseller: the reseller's page → Branding of reseller1.
- The administrator, for the server itself (the platform brand): Settings → Branding.
berth brand --reseller reseller1 --name "Example Hosting" --color '#0a5f8a' \
--logo logo.png --logo-dark logo-dark.png --favicon favicon.png \
--support-email help@example.nl --support-url https://example.nl/help --mode own
berth brand --reseller reseller1 # show
berth brand --name "Acme Hosting" --color '#204060' # the platform brand of this serverWhat carries the brand
| Where | What the customer sees |
|---|---|
| The panel | Name, colours, logos and favicon, for the reseller and all their customers. An administrator who logs in as a customer sees what the customer sees. |
| Login page | The brand, on the reseller's own panel hostname. |
| Mails to customers | HTML mails with the brand's name in the From line and replies going to the helpdesk address. The sending address stays the server's, so SPF and DKIM keep working. |
| Public status pages | Logo and colours of the brand. See Uptime and status pages. |
| Monthly reports | The signed monthly report per customer. |
| Webmail | Roundcube on the customer's webmail. hostname shows the reseller's brand. |
The database tool uses a neutral "Databases" title rather than any brand.
Which brand a customer sees
A reseller chooses one of three modes (--mode):
own: their own brand;platform: the server's platform brand;berth: the plain Berth look.
Without a brand of its own, a reseller's customers see the platform brand, and without a platform brand, Berth.
The reseller's own panel hostname
A reseller can have the panel on their own name, for example panel.example.nl, with its own login page and certificate.
- Point an A record (and AAAA) for the name at the server.
- Set the name on the branding page under Address, or:
berth brand --reseller reseller1 --hostname panel.example.nl --email office@example.nlThe panel requests a certificate itself and switches the name to https. The panel's own hostname must already have a certificate. An empty hostname removes it.
The owner's policy
The server owner decides what resellers may do with branding, on the branding page under the policy section, or with berth brand policy:
berth brand policy # show
berth brand policy --reseller-own=false # resellers may not run their own brand
berth brand policy --reseller-berth=false # resellers may not pick the Berth look
berth brand policy --allow reseller1 # exception: this reseller may anyway
berth brand policy --default reseller1 # back to the general ruleBoth general rules are on by default. A reseller who may not run their own brand shows the platform brand to their customers.
Related
- Billing integration: let WHMCS or HostBill create the reseller's customers.
- Mailboxes and Webmail and mail clients: mail and webmail hostnames per domain.
- Certificates: how the panel requests certificates.