Is there a way to pull the full list of domains, including addon domains and subdomains, on a cPanel server? I guess I could do it with an API but if there's an easier way, let me know.
The absolute easiest way is /etc/userdatadomains which contains domains, including which type it is, their owner, the document root and php version if it's set.