Skip to content

DirectAdmin reseller setup — package templates, IP allocation, and brand customization

Stand up a reseller on DirectAdmin the way it works at production scale — package templates that scale, IP allocation policy, dedicated IPs for SSL/mail, and panel branding.

You sell DirectAdmin reseller accounts to small agencies — each reseller resells hosting to their own clients, on packages you define, on IPs you allocate, with branding you let them customize within limits. The first reseller is easy. The fifth is when the operational policy questions show up: how many resellers share an IP, what package templates do you ship by default, can a reseller change their package on the fly, what happens when a reseller’s customer’s customer abuses the box. Below is the reseller setup we run and the policy that goes with it.

What’s happening

A DirectAdmin reseller is a user with permission to create and manage their own customer accounts. The reseller doesn’t get shell access to the server (unless you elevate them, which is unusual). They get a sub-panel under https://da.example.com:2222/ that shows only their own customers, their own resource usage, their own DNS zones. The admin (you) sets the reseller’s resource ceiling: how many customer accounts they can create, how much total disk and bandwidth across all those customers, which IPs they can assign, what feature set their customers get.

The reseller’s customer packages are templates the reseller can clone and adjust within the ceiling you’ve set. If you give a reseller 100 GB total disk and they create three packages (Starter 5 GB, Pro 20 GB, Agency 50 GB), they can over-allocate at the package level — the enforcement is at the account level when customers are actually created. A reseller who tries to provision 30 customers on the Pro package will get blocked when total allocated disk crosses 100 GB.

The decisions that show up at scale:

  • Shared vs. dedicated IPs: the cheap default is shared — all customers on the box use the same outbound IP for mail and the same incoming IP for HTTP/HTTPS. SNI handles TLS on shared IPs cleanly, so there’s no technical need for dedicated IPs per customer. But some customers want a dedicated IP for sender reputation isolation (so a neighbor’s spam doesn’t tank their delivery) or for legacy clients that don’t speak SNI. Decide whether you offer dedicated IPs at all, and if so, at which tier.
  • Mail IP isolation: even on a shared IP plan, a reseller doing a lot of newsletter sending should get their own outbound mail IP. Otherwise a single bad sender on the box can blacklist the IP for everyone.
  • DNS clustering: a single-server DirectAdmin can act as its own primary nameserver. At production scale, set up DNS clustering with at least two DirectAdmin servers as nameservers so a reboot of the primary doesn’t take customer DNS offline.
  • Branding: DirectAdmin’s Evolution skin supports per-reseller branding (logo, color scheme, login URL). The reseller can use their own domain (panel.reseller.example.com) pointed at the DirectAdmin IP, with a TLS cert installed for that hostname. Customers see the reseller’s brand, not yours.
  • What happens when a reseller leaves: their customer accounts have to go somewhere. Either they migrate to another reseller (your support handles this), the customers move to direct admin-level accounts, or the customers leave with the reseller. Decide the policy before the first reseller signs up.

How to verify

The reseller account exists and shows up in the admin’s reseller list:

# Run on the DirectAdmin server
/usr/local/directadmin/directadmin-bin --print-config | head
ls /usr/local/directadmin/data/users/<reseller-name>/

# Resource ceiling
cat /usr/local/directadmin/data/users/<reseller-name>/user.conf | grep -E '^(quota|bandwidth|domainptr|nemailf|nsubdomains|nusers)='

A reseller-created customer account should inherit the package template:

# After the reseller creates a customer
cat /usr/local/directadmin/data/users/<customer-name>/user.conf | grep -E '^(creator|quota|bandwidth|package)='
# creator=<reseller-name>
# package=<package-name>

Confirm the reseller’s brand domain resolves and the panel loads with their TLS cert:

dig panel.reseller.example.com +short
# <directadmin-server-ip>

curl -sI https://panel.reseller.example.com:2222/ | grep -i 'server\|strict'
# Should return DirectAdmin headers with the reseller's domain TLS

echo | openssl s_client -connect panel.reseller.example.com:2222 -servername panel.reseller.example.com 2>/dev/null | openssl x509 -noout -subject
# Subject should be the reseller's hostname

Check that DNS records for reseller customer accounts are being served by the right nameservers:

dig @ns1.da-cluster.example.com customer-domain.example.com SOA +short
# Should answer authoritatively

The fix

Define the reseller package template first

Before creating the reseller account, define the package they can build customer packages within. Admin → Manage User Packages → Add Package, but for resellers you go to Admin → Manage Reseller Packages. Sensible defaults for a mid-tier reseller:

Reseller package: "Tier-2-Reseller"
  Disk space (MB):         102400 (100 GB total across all customers)
  Bandwidth (MB):          2048000 (2 TB total, monthly)
  Customer accounts:       50
  Email accounts:          1000
  Forwarders:              1000
  Mailing lists:           50
  Autoresponders:          1000
  Databases:               500
  Domains:                 100
  Subdomains:              500
  FTP accounts:            500
  IP addresses:            shared (or "list specific IPs")
  Can create DNS:          yes
  Can use anonymous FTP:   no
  Can use CGI:             yes
  Can use SSL:             yes
  Can have skin selector:  no (lock to your branded skin)

The “shared IP” choice here is the most important. If you let resellers assign their own IPs, they can move customers around the IP pool freely. If you lock them to “shared” they all share the server’s main IP and you decide centrally who gets a dedicated IP on what tier.

Create the reseller account

From the admin panel: User Manager → Add User → check “Reseller” → assign the Tier-2-Reseller package. Or via CLI:

# From the DirectAdmin server, via the command queue API
/usr/local/directadmin/directadmin-bin --task "CMD_ACCOUNT_RESELLER" \
  username=acmeagency \
  password=<initial-password> \
  email=ops@acmeagency.com \
  package=Tier-2-Reseller \
  ip=<server-main-ip>

The reseller logs in at https://da.example.com:2222/ with their username/password and sees a reseller dashboard, not the admin panel.

Brand the reseller’s panel

If you want panel.acmeagency.com to be the reseller’s panel URL with their TLS cert and logo:

  1. DNS: the reseller adds an A record for panel.acmeagency.com pointing at the DirectAdmin server’s public IP.
  2. TLS: from Admin → SSL Certificates → CertBot, request a Let’s Encrypt cert for panel.acmeagency.com and bind it to DirectAdmin’s panel listener. DirectAdmin supports per-hostname certs via the hostnames.conf mechanism.
  3. Branding: the reseller can upload a logo and pick a color scheme from the reseller dashboard if you’ve enabled “skin customization” in their package. Otherwise you set the brand assets in the Evolution skin config (/usr/local/directadmin/data/skins/evolution/) and they apply globally.
  4. Login URL: customers of the reseller log in at https://panel.acmeagency.com:2222/ and see Acme’s branding. The TLS cert proves the hostname is the reseller’s, not yours.

Allocate IPs

For the standard tier, all customers share the server’s main IP. For premium tiers, allocate dedicated IPs:

# Add a new IP to DirectAdmin's IP manager
/usr/local/directadmin/directadmin-bin --task "CMD_IP_MANAGER" \
  action=add \
  ip=192.0.2.42 \
  status=shared \
  ns1=ns1.da.example.com \
  ns2=ns2.da.example.com

Then in the reseller’s package, switch IP allocation from “shared” to “list” and add this specific IP. The reseller can assign it to a customer account on creation. For mail IP isolation, run mail-relay-postfix-smarthost-tls-deploy or similar to give one customer’s outbound mail a separate IP via SMTP routing — DirectAdmin’s exim config supports per-domain outgoing_msa mapping.

DNS clustering

A single DirectAdmin nameserver is a single point of failure. Set up at least one secondary DirectAdmin and enable DNS clustering:

# On primary (da1.example.com)
/usr/local/directadmin/directadmin-bin --task "CMD_DNS_ADMIN" \
  action=cluster_add \
  server=da2.example.com \
  username=admin \
  password=<admin-pass-on-da2>

# DNS records created on da1 are pushed to da2 automatically

NS records for customer domains point to ns1.da.example.com and ns2.da.example.com, which are A-recorded at the two DirectAdmin servers. A reboot of the primary doesn’t take customer DNS offline.

Reseller exit policy

Document and enforce: if a reseller leaves the platform, their customers either move to another reseller (admin runs directadmin-bin --task transfer_account for each), become direct customer accounts under admin (admin reassigns creator=admin), or get a 30-day window to migrate elsewhere. Backups of the reseller’s customer accounts get retained for 90 days off-box regardless of which path they take.

A DirectAdmin reseller fleet with consistent package templates, brand-isolated panels, DNS clustering, and a documented exit policy runs under our Managed Cloud Ops layer — and the brand customization sits alongside an agency partnership if you’re reselling to agencies. Scope your reseller program and we’ll plan the package tiers with you.