Skip to main content

Unable to add an 'add-on' domain to the main account/domain.

Comments

8 comments

  • kodeslogic
    Check what is the output for the below commands on your server with root user: /scripts/whoowns yourdomain.com cat /etc/userdomains | grep yourdomain.com cat /var/cpanel/accounting.log | grep yourdomain.com
    0
  • vpswing
    /scripts/whoowns foobar.com => vpswing cat /etc/userdomains |grep foobar.com => foobar.com: vpswing cat /var/cpanel/accounting.log|grep foobar.com <-- no result. The above are fictitious domains
    0
  • HostNoc
    HI Have you checked by login into CPanel of your main domain and check on add-on domain. May be add-on domain you are trying to create is already created You can also check addon park domain from following command cat /var/cpanel/userdata/username/main Regards HostNoc
    0
  • vpswing
    I see the add-on domain in the /var/cpanel/userdata/username/main file, as well as the individual files in the /var/cpanel/userdata/username/ directory. Can I safely edit the 'main' file and also delete the add-on domain files in that directory? Thanks
    0
  • kodeslogic
    Is the concerned add-on domain visible in the cPanel interface?
    0
  • vpswing
    > Is the concerned add-on domain visible in the cPanel interface? No, it's not visible.
    0
  • kodeslogic
    It seems there are leftover broken entries for the add-on domains existing on your server causing this issue, to resolve this either you need a backup that still had this addon domain, when the backup restoration completes, attempt removal of the add-on domain once more from the cPanel interface. (Make sure first you take the current data backup on your local machine before proceeding to be on safe side). OR Manually remove the left over entries, the
    0
  • cPRex Jurassic Moderator
    @kodeslogic - great advice, as usual, but did you just grep your cats?????????????? @vpswing - if you aren't able to resolve the userdata problems, please create a ticket with our team and we can check it out.
    0

Please sign in to leave a comment.