GICT knowledge base
cPanel Accounts Missing on WHM – List Accounts
Published
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.
Related guides
How to Install and Uninstall JetBackup for cPanel
How to Install JetBackup for cPanel. JetBackup is one of the leading backup solutions for cPanel & WHM that offers a user-friendly GUI. It provides
WHMSetup SendGrid on your cPanel VPS/Server
Setup SendGrid on your cPanel VPS/Server. SendGrid provides a cloud-based service for reliable transactional and marketing email.
WHMChange cPanel Nameserver Software to PowerDNS Carefully
Review WHM nameserver selection, resolver dependencies, cluster compatibility and DNSSEC requirements before a planned PowerDNS service change.
WHMTroubleshooting Jailed Shell on OpenVZ
cPanel/WHM providing Jailed shell environment for users, this feature giving high-level security for users when doing ssh access to their server.
