Skip to main content

How to Retrieve the Full List of Domains, Addon Domains, and Subdomains?

Comments

2 comments

  • LucasRolff
    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.
    0
  • cPanelLauren
    /etc/userdomains should get you similar output with just the username as well but, I'd defer to the suggestion by @LucasRolff
    0

Please sign in to leave a comment.