/etc/userdomains file is blank.
Sometimes on a cPanel server the /etc/userdomains (file containing list of all the domain added on the server) appears blank even if the domains exist on the server.
Issue following command to rebuild the file on the server:
That’s it. You can now view the list of domains in this file.