cPanel Accounts Missing on WHM – List Accounts

cPanel is the most used control panel in the World through which we can manage our websites and settings easily via a User-Friendly interface. I have seen many situations where a cPanel account which is actually exists missing on WHM >> List Accounts interface. Normally all cPanel account will be shown under this section, but somehow what there will be this like situations too. I’m going to discuss the steps to resolve this issue on a cPanel server.

Firstly, I’m going to introduce few files/directories here. This will definitely give you an idea of what I’m exactly done on this tutorial here.

1)/etc/userdomains: This file contains all the added domains including primary/addon/parked/sub domains and its corresponding username on the server.

2) /etc/trueuserdomains: This file contains all the primary domain and its corresponding username on the server.

3) /var/cpanel/users/USERNAME : The USERNAME would be the actual cPanel username. This file contains a lot of info about your cPanel account (We have to check for few entries on this file)

4) /etc/httpd/conf/httpd.conf : Apache configuration file, this contains all the domain’s virtual hosts.

Let’s see the steps on how we can solve this situation here.

1) Firstly, we would need to check the file /etc/userdomains, as I have mentioned this file contains all added domains such as Addon, Parked, and Sub-domains, and the main domain. Check for the missing account’s domain name and username on this file, as it must contain the main domain and username as in the following format.

domain.com: username

2) Check on /etc/trueuserdomains, this file should also contain the main domain and username as in the above format.

3) Check on /var/cpanel/users/USERNAME (replace USERNAME with the actual username). We have to check for the following entries on this file:

DNS=domain.com

IP=ipaddress

USER=username

OWNER=root

4) Check on Apache configuration file either on /etc/httpd/conf/httpd.conf or /usr/local/apache/conf/httpd.conf and make sure the virtual host exists for the domain name. Try to rebuild the Apache configuration by running the following command:

# /scripts/rebuildhttpdconf

At last, try to run the following command to update the user domains:

# /scripts/updateuserdomains

Now you should see that cPanel account there on WHM’s List Account interface just fine there.

If you need any further assistance please contact our support department.

Was this answer helpful? 0 Users Found This Useful (0 Votes)