Here are 2 ways to list all domaind for a cPanel account, including: Subdomains, Addon domains, Aliases and Parked domains.
- From cPanel
Login to the user cPanel and go to “Domains”

2. From the terminal
For each cPanel account there is a file “main” located in /var/cpanel/userdata/USERNAME that contains all account details, including domain names.
cat /var/cpanel/userdata/USERNAME/main



![node[175421]: pthread_create: Resource temporarily unavailable 2023 08 28 12 15 - node[175421]: pthread_create: Resource temporarily unavailable](https://i0.wp.com/administrator.pejcic.rs/wp-content/uploads/2023/08/2023-08-28_12-15.png?resize=344%2C194&ssl=1)
