Change domain ownership files took my site down


Feb 21, 2013
cPanel Access Level
Root Administrator
Please run the following command in root SSH:

Where is the domain name in question. If it doesn't show any ownership, then move the following files:

cd /etc
mv userdomains userdomains.bak
mv domainusers domainusers.bak
mv trueuserdomains trueuserdomains.bak
At that point, run the following script and recheck ownership for the domain:

If instead of showing no ownership, the domain showed the wrong ownership, you'd have to edit the /var/cpanel/users/username file that is improperly owning the domain to remove the DNS line that it has for that domain, then run the above move and updateuserdomains commands.

If the ownership is correct, then at that point, try instead checking the Roundcube logs as it has the most accurate logging of the 3 webmail programs. Try to log into the account in Roundcube, and then go to /var/cpanel/roundcube and tail the log:

tail -fn0 /var/cpanel/roundcube/log/errors
Please post the output of the errors it is logging here at that point.

I could not connect my webmail because I put my main domain the same my sub domain following those steps above. Now I can connect to my webmail horde/roundcube etc. but my site shut down to an "/cgi-sys/defaultwebpage.cgi " default page.

How can i make the props changes ?