WHM/cPanel server list accounts option shows zero sites

Prev Next

You log into your WHM account, click on "List Accounts", and the list comes back empty.

The most common problem is that the file /etc/userdomains has been modified or reset and is now empty.

Note: This will require some knowledge of command line and access via SSH.


To fix this, we just need to run one script - follow these steps:

  1. Log into the server via SSH.

  2. Type in this command and hit enter:

    cd /scripts

  3. Type in this command and hit enter:

    ./updateuserdomains

  4. Type in this command and hit enter:

    exit

  5. Go back to your browser window and click the "List Accounts" menu option again - all your accounts should now be displayed again.

If this does not resolve the issue, feel free to reach out to the support team by lodging a case within your portal www.MySAU.com.au