Skip to main content

List all domains associated with an account from the command line

Comments

4 comments

  • MilesWeb
    @Valetia Below is the command you can use to get a list of domain names created under your cPanel account. grep cPanel-username /etc/userdomains
    Replace cPanel-username with actual cPanel username.
    0
  • Valetia
    Many thanks!
    0
  • MilesWeb
    ]Many thanks!

    You are welcome :cool:
    0
  • cPanelMichael
    You can also search for a username in /etc/trueuserowners to see which reseller owns the account. EX:
    grep $username /etc/trueuserowners
    Thank you.
    0

Please sign in to leave a comment.