Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the copy-the-code domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pb-seo-friendly-images domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the johannes domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121
List all Subdomains, Addon domains and Aliases for a cPanel account - PC✗3
List all Subdomains, Addon domains and Aliases for a cPanel account

List all Subdomains, Addon domains and Aliases for a cPanel account

Here are 2 ways to list all domaind for a cPanel account, including: Subdomains, Addon domains, Aliases and Parked domains.

  1. From cPanel

Login to the user cPanel and go to “Domains”

domains 1024x378 - List all Subdomains, Addon domains and Aliases for a cPanel account

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
image 35 - List all Subdomains, Addon domains and Aliases for a cPanel account
whoami
Stefan Pejcic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.