Addon domains in DirectAdmin-host multiple sites
Add additional domains to your DirectAdmin account and host multiple websites from a single hosting plan.
On this page
Addon domains in DirectAdmin allow you to host multiple independent websites on a single hosting account. Each addon domain gets its own document root (file folder), SSL certificate, and cPanel-style control. This is ideal for agencies, freelancers, or businesses managing several client sites.
Add an addon domain
Adding a new addon domain to your DirectAdmin account takes just a few clicks:
- Log in to DirectAdmin
- Navigate to Account Manager (top left)
- Click Domain Setup or Account Domains
- Click Add Another Domain or the + button
- Enter the new domain name (e.g.,
example2.com) - Optional: Set custom bandwidth and disk quotas for this domain (or leave unlimited)
- Click Submit or Add
DirectAdmin instantly creates the domain entry. Your domain is now configured in DirectAdmin, but DNS still needs to point to your server before the website goes live.
Most DirectAdmin hosting plans allow unlimited addon domains. Check your plan details to confirm the limit. Each domain is fully independent and gets its own SSL, FTP/SFTP access, and folder.
File structure and directories
When you add an addon domain, DirectAdmin automatically creates a folder structure for it:
/home/username/domains/
├── primarydomain.com/
│ └── public_html/ (main website files)
│
├── example2.com/
│ └── public_html/ (addon domain #1 files)
│
└── example3.com/
└── public_html/ (addon domain #2 files)
Key locations:
/home/username/domains/example2.com/public_html/— Upload website files here (via FTP/SFTP or File Manager)/home/username/domains/example2.com/— Contains subdirectories for logs, cgi-bin, SSL certificates- Each domain's email accounts and databases are separate and organized by domain
You do NOT upload addon domain files to the primary domain's folder. Each addon domain has its own isolated public_html directory.
DNS setup: Pointing your addon domain
After creating an addon domain in DirectAdmin, you need to point the domain to your server using one of two methods:
Method 1: Update nameservers (recommended)
- Get UnderHost's nameservers (provided in your hosting welcome email)
- Log in to your domain registrar (GoDaddy, Namecheap, etc.)
- Find Nameservers or DNS settings
- Update nameservers to UnderHost's nameservers
- Wait for propagation (24-48 hours)
Method 2: Add A record (faster if you already have UnderHost nameservers)
- Log in to your domain registrar's DNS panel
- Find or create an A record for the domain
- Set the value to your UnderHost server's IP address
- Save; typically takes 1-6 hours to propagate
Both methods achieve the same result: directing traffic from your addon domain to your UnderHost server.
DNS propagation and testing
After updating DNS, your domain must propagate through the global DNS system. This typically takes 24-48 hours, but can sometimes be faster (1-6 hours).
To test DNS propagation before it's fully live:
nslookup example2.com 8.8.8.8 # Uses Google's DNS (public)
dig example2.com @8.8.8.8 # Detailed DNS lookup
host example2.com 1.1.1.1 # Uses Cloudflare's DNS
Or use an online tool like MXToolBox or WhatsMyDNS to check propagation status from multiple locations worldwide.
What you should see: An A record pointing to your UnderHost server IP. Once this appears globally, your addon domain will go live.
Manage and edit addon domains
DirectAdmin gives you full control over your addon domains:
- Edit resource limits: Click the domain → adjust bandwidth and disk quotas
- Enable/disable: Temporarily suspend an addon domain without deleting it
- View statistics: See storage used, bandwidth consumed, number of email accounts and subdomains
- Configure SSL: Each addon domain gets its own free Let's Encrypt SSL certificate (auto-renewing)
- Create email accounts: Add user@example2.com email addresses specific to that domain
- Database management: Create MySQL/MariaDB databases assigned to this domain
Addon domains vs subdomains
Key differences:
| Feature | Addon domain | Subdomain |
|---|---|---|
| Example | example2.com | blog.example.com |
| Separate website? | Yes, fully independent | Part of main domain |
| Files location | /home/user/domains/example2.com/public_html/ | /home/user/public_html/blog/ or separate folder |
| Email addresses | Can have user@example2.com | Uses main domain email (user@example.com) |
| SSL certificate | Separate certificate | Covered by main domain's wildcard cert |
| Best for | Multiple unrelated websites | Sections of main site (blog, shop, etc.) |
Choose addon domains if: You host separate client websites, run multiple businesses, or want completely independent sites.
Choose subdomains if: You're organizing sections of a single website (portfolio, help desk, API, etc.).
Remove an addon domain
Important: Removing an addon domain in DirectAdmin does NOT delete your files. You must manually delete the website files if you don't need them.
- Log in to DirectAdmin
- Go to Domain Setup
- Find the addon domain you want to remove
- Click Delete or the delete icon
- Confirm the deletion
After deletion:
- Visitors to that domain will see a "not found" or "no website configured" error
- Files remain in
/home/username/domains/example2.com/(not automatically deleted) - Use DirectAdmin's File Manager to manually delete the folder if needed
- Email accounts and databases tied to that domain are removed automatically
If you're removing an addon domain you might need again, download your website files via SFTP or File Manager first. DirectAdmin will not restore deleted files.
Related: DirectAdmin overview | cPanel addon domains | DNS propagation | Configure DNS
Need DirectAdmin hosting?
DirectAdmin is available for customers who want a lightweight hosting control panel on compatible UnderHost services.





















