A customer with one cPanel account wants to host four websites. They click around, find three options that look interchangeable, and end up with site2.com as an addon, site3.com as an alias, and blog.site1.com as a subdomain — without ever knowing which one means what. Six months later, mail for site2.com is going to site1.com’s mailbox because the addon was set up wrong.
What’s happening
cPanel models extra domains on a single account in three ways. They share storage and SSH user, but differ in DNS, mail, and document root semantics.
- Subdomain:
blog.site1.com— a label under the primary domain. Same zone file, just an A record (or CNAME) for the label. Mail accounts under it belong to the parent domain’s mail flow. - Addon domain:
site2.com— a fully separate domain that gets its own zone file, its own mail accounts, its own document root, but is owned by the same cPanel user. Under the hood, it’s a subdomain of the primary masquerading as an apex. - Alias (parked) domain:
site3.com— a domain that resolves to the same content as the primary. No separate zone for content; it CNAME-equivalents to the main site. Mail for@site3.comis delivered to@site1.com’s mailboxes.
The trap: an addon domain technically has its own zone, but its mail accounts are subordinate to the primary. If you create info@site2.com, you’ll see it logged as info+site2.com@site1.com in some places, which confuses SPF and DMARC alignment for anyone receiving mail from it.
How to verify
Confirm what type each extra domain is on an account:
whmapi1 list_users
uapi --user=cpaneluser DomainInfo list_domains
ls -la /var/named/ | grep -E '(site1|site2|site3)\.com'
cat /var/cpanel/users/cpaneluser | grep -E '^(DNS|XDNS|PARK)'
Mail delivery path:
exim -bt info@site2.com
exim -bt info@site3.com
If info@site3.com (an alias) resolves to the primary domain’s mailbox, that’s expected. If info@site2.com (an addon) does, the addon is set up as an alias instead.
The fix
- Use a subdomain when the content is logically part of the primary site (
blog.site1.com,staging.site1.com). Same brand, same operator, same DNS zone. - Use an addon domain when you want a separate website with separate content under the same hosting plan, separate mail accounts, and separate DNS. This is the right choice for “we host two unrelated brands on one account”.
- Use an alias (parked) domain when one domain should serve the same content as another. Common case:
mybrand.caandmybrand.comboth serve the same WordPress site. Mail flows to the primary domain. - Never mix the three for the same domain. Removing one and re-adding as another leaves orphaned config in
/var/cpanel/users/, broken mail aliases in/etc/valiases/, and a stale zone in/var/named/.
If a customer needs both separate websites and separate logins, the answer is separate cPanel accounts, not addons. Addon domains share the cPanel user — anyone with login access can read every site’s files.
For multi-domain accounts that need clean separation, Stack Harbor reorganizes addon/alias/subdomain layout as part of managed cPanel operations.