Skip to main content

Best way to get all domain names under a reseller account.

Comments

2 comments

  • DavidN.
    Hello, Thanks for contacting us. I've been looking through our SDK documentation, and using the API, I can't think of a better way to do this than you're already doing. It's currently possible to get this information directly off disk. The files in /var/cpanel/users are named for each user, and each file lists the user's owner and all of their domain names, as well as a bunch of other useful information. The format of these files could change in the future, so using the API might be a safer alternative. David Nielson cPanel Developer
    0
  • gunsuka
    Thanks David, just wanted to make sure there was not a better way. We are developing a service for cPanel resellers, so we do not have direct access to the servers. What we are doing is working, just a lot of API calls but it does get the job done.
    0

Please sign in to leave a comment.