Create Sub-accounts on DirectAdmin to Share Hosting with Clients

If you're a web agency or freelancer managing websites for multiple clients, buying separate hosting accounts for each one can quickly become expensive. DirectAdmin's Sub-user and Reseller system lets you divide hosting resources among multiple clients — with individually configurable quotas and permissions — all from a single control panel. Here's how to set it up.

1. What Are Sub-accounts in DirectAdmin?

DirectAdmin organizes users into three access levels:

For a web agency or freelancer, you'll operate as a Reseller, creating and managing User accounts for each of your clients.

2. User vs Reseller vs Admin Differences

LevelCan Create UsersEdit PackagesAccess Server Config
UserNoNoNo
ResellerYes (own users only)PartiallyNo
AdminYes (all)Yes (all)Yes

Note: On standard shared hosting, customers typically receive User-level access only. Reseller access requires a Reseller Hosting plan or a specific permission grant from the provider.

2b. DirectAdmin vs cPanel for Resellers

If you have previously worked with cPanel and WHM, it helps to understand where DirectAdmin's Reseller system differs:

FeatureDirectAdmin ResellercPanel / WHM Reseller
Reseller panel locationIntegrated within the same DirectAdmin UISeparate WHM interface from cPanel
Creating user accountsAccount Manager → Create UserWHM → Create New Account
Defining resource packagesManage Packages in the Reseller panelFeature Lists in WHM
Login as sub-userSupported nativelySupported via WHM → Switch to Account
Typical costLower, due to cheaper licensingHigher, due to cPanel license costs

DirectAdmin consolidates Reseller management into a single interface, eliminating the need to switch between WHM and cPanel. This makes managing sub-accounts significantly faster — especially when you are overseeing multiple clients at once.

3. How to Create a Sub-user on DirectAdmin

Log in to DirectAdmin as a Reseller, then follow these steps:

  1. Go to Account Manager → Create User.
  2. Fill in the required fields:
    • Username: Lowercase letters, numbers, and underscores only.
    • Email: The user's email for system notifications.
    • Password: A strong password.
    • Domain: The user's primary domain name.
    • Package: Select a package that defines resource quotas.
  3. Click Create.

Once created, the user can log in to the same DirectAdmin URL using their new credentials.

4. Setting Quotas (Disk, Bandwidth, Email, Domain)

Before creating users, define a Package with standard quotas. Go to Reseller Level → Manage Packages → Add Package.

Key quota settings to configure:

⚠️ Avoid over-allocating: The sum of all quotas you assign to your users must not exceed the total resources in your own hosting plan. Otherwise some users will run out of space unexpectedly.

5. Logging in as a Sub-user

As a Reseller, you can use the Login As feature to access any client's account without knowing their password:

  1. Go to Account Manager → List Users.
  2. Click the username you want to access.
  3. Click Login as this user.

This is particularly useful when a client reports an issue and you need to investigate or fix it directly in their account.

Changing a client's password: Go to Account Manager → List Users → click the username → change the password in the User Settings section.

5d. Setting Up SSL Certificates for Sub-user Domains

One often-overlooked step after creating a sub-user is configuring SSL certificates for their domain. DirectAdmin supports free Let's Encrypt SSL, which issues certificates automatically. Here is how to set it up for a sub-user domain:

  1. Log in to the sub-user's account (or use Login As from the Reseller panel).
  2. Navigate to Advanced Features → SSL Certificates.
  3. Select Let's Encrypt, enter the domain and any subdomains you need to cover.
  4. Click Save. The certificate is issued automatically within 1–2 minutes.

Let's Encrypt certificates renew automatically every 90 days. A well-configured hosting provider will have auto-renewal set up by default, so clients do not need to do anything manually.

⚠️ Wildcard SSL and sub-users: Let's Encrypt supports Wildcard certificates (*.example.co.th) but requires a DNS challenge rather than an HTTP challenge. You must have the ability to add DNS TXT records. If your client uses Cloudflare for DNS, additional API configuration is required.

5e. Configuring Email Accounts for Sub-users

After receiving hosting access, one of the most common client requests is setting up email using their own domain name. DirectAdmin lets each sub-user manage their own email accounts independently:

Creating an email account in DirectAdmin

  1. Go to Email Manager → Create Email Account.
  2. Enter the email address — for example, [email protected].
  3. Set a password and the mailbox quota size in MB.
  4. Click Create Account.

Configuring an email client (Outlook / Thunderbird)

After the account is created, clients can access it through Webmail or configure it in a desktop email client using these settings:

Incoming: IMAP  server.hosting.example.com  port 993 (SSL)
Outgoing: SMTP  server.hosting.example.com  port 465 (SSL)
Username: [email protected]
Password: the password set during account creation

Reseller tip: As a Reseller you can view all email accounts under a sub-user via Email Manager → List Email Accounts. You can also reset a client's email password directly without needing to know the old one.

5f. Security Best Practices for Reseller Accounts

Managing hosting for multiple clients means that a single security lapse can affect all of them. Follow these practices to keep every sub-user account secure:

Establishing these practices from the start of the client relationship is far easier than recovering from a security incident that affects multiple accounts simultaneously.

6. Use Cases: Web Agencies and Freelancers

For Web Agencies

An agency managing 5–20 clients can purchase a single Reseller Hosting plan and create separate User accounts for each client. Each client manages their own email, FTP, and databases independently, while the agency oversees all accounts from one Reseller panel — significantly reducing hosting costs.

For Freelancers

A freelancer taking on multiple web projects can buy one hosting plan and create separate sub-accounts for each project. This keeps files and databases isolated, reducing confusion when working across several projects simultaneously.

Summary: DirectAdmin sub-accounts are ideal for anyone who needs to share hosting resources with multiple clients without buying separate plans. It reduces costs and centralizes management in a single control panel.

Hosting with DirectAdmin Sub-account Support

All AsiaGB Hosting plans use DirectAdmin. Starting from 500 THB/year with SSD, PHP 8.3, and Thai-language support.

View Hosting Plans