If you are experiencing a missing IP address issue in the cPanel/WHM List Accounts interface, the following steps can help repair userdata permissions, rebuild domain mappings, regenerate the userdata cache, and rebuild the Apache configuration.
Log in to your server as the root user via SSH and run the following commands:
/usr/local/cpanel/bin/fix_userdata_perms
/scripts/updateuserdomains
/scripts/updateuserdatacache --force
mv /etc/apache2/conf/httpd.conf{,.bk}
/scripts/rebuildhttpdconf
/scripts/restartsrv_httpd
These commands will:
-
Repair cPanel userdata permissions.
-
Rebuild user-to-domain mappings.
-
Force a regeneration of the userdata cache.
-
Back up the current Apache configuration.
-
Rebuild the Apache configuration file.
-
Restart Apache to apply the changes.
Once completed, verify that the affected accounts are displaying the correct IP addresses in WHM's List Accounts page.
