When /etc/userdomain is accidently deleted

Here are the steps to re-create userdomain file if it gets accidentally deleted

mv /etc/userdomains /etc/userdomains.OLD
/scripts/updateuserdomains

If it is not still getting re-generated, do the following steps

/usr/local/cpanel/bin/userdata_update
mv /etc/userdomains /etc/userdomains.OLD
/scripts/updateuserdomains

Leave a Reply

Your email address will not be published. Required fields are marked *