Server Administration & Management

Error While adding domain via cPanel

Sometimes, you look following type of error in cPanel while adding domian :-

Error While adding domain via cPanel :: Error from domain wrapperError Message :: Error from domain wrapper: example.com is owned by another user.

1. Remove the domain name example.com from /var/cpanel/users/cpanel-username

2. Run /scripts/updateuserdomains as root user on the server because you changed the above file manually, this will create adjusted cache files

# /scripts/updateuserdomains

3. Remove the zone file /var/named/example.com.db if the file exists

4. Remove the virtualhost entry for domain example.com on /usr/local/apache/conf/httpd.conf

5. Remove the domain example.com from /etc/named.conf

Now try to add the domain once again in cPanel.

Note :: example.com is the domain name which you want to add via cPanel.

April 15, 2011 Posted by | cPanel | | Leave a comment