I have a reseller account with my hosting provider, and I usually don't use cPanel as nameserver.
However, I read out things e.g. DKIM, SPF, etc. from the zone file that are automatically generated by WHM/cPanel to use it with the nameserver (this can be the client's nameserver where the registered their domain or Cloudflare).
So far so good. But things seem to be complicated how addon domains work. There are a few topics that permanently confuse me. One of them is about the zone files.
Merged zone file - the addon domain(s) use the same zone file as the main cPanel account. So if I create 4 addon domains there will be a mix of 4 domains within one zone file. Is that how it should work?
e.g. I can have `clientwebsite.com` as main website. `clientadditionalproject.com` as secondary small website. `clientwebsite.uk`, `clientwebsite.de` only for redirecting to the main site `clientwebsite.com`
How would you set it up? I try to find one approach for my setup that I will apply on all client projects, just to increase consistency and reduce complexity.
I think the reason behind is that cPanel historically creates a subdomain for an addon domain, and that concept messes with my thinking.
Either I understand the full impact of addon domains, or I create a separate cPanel account for each domain (less confusing, clearly separated, more management, higher costs in the end)
RELATED TOPICS: Other topics that are related and kind of difficult to comprehend:
Domain root: Addon domain can share the same domain root which from my point of view can be fatal and mess with pretty much everything. No idea why that's the case. Is there any reason why someone would like to have a shared domain root.
Backup/restore: Addon domains are based on the main account, so backup and restore can be kind of dangerous, no matter if it's a WordPress plugin or cPanel backup or JetBackup. Didn't manage to think it through, but when I imagine to restore the addon domain dev.website.com and risk to overwrite website.com ...
PHP version: With addon domains it's more difficult I think to test PHP update and have different PHP versions. I think there are ways around.
... there are even more things coming to my mind. I think I need to question every feature on how it works when running an addon domain.
Please sign in to leave a comment.