Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Jun 2005
    Posts
    37

    Default Cannot remove an addon domain name

    Hi,

    I never set up an addon domain. I only set up subdomain.

    When I want to delete a subdomain on my test website I got the following message:

    SubDomain Removal
    Sorry, the subdomain subdomain cannot be removed because it is linked to the addon domain subdomain.domain.com . You must first remove the addon domain.


    Allright, so I delete the addon domain

    Syncing Ftp Databases....Done Sorry, you do not control the domain subdomainname
    Sorry, the subdomain subdomainname cannot be removed because it is linked to the addon domain subdomainname.domain.com . You must first remove the addon domain.


    First I am in control of the domain. So it's wrong to say I do not control the domain.
    Second it says that I have to remove the addon domain. But that's what I am trying to do.
    Third, how in the earth I got add on domains anyway that I never add?
    Discussion Bucks
    Discussing anything related to making or saving bucks.

  2. #2
    Member
    Join Date
    Nov 2005
    Posts
    10

    Default

    Check the user file at /var/cpanel/users. The root of all problems may be in there.
    Rosa

    The beautiful thing about learning is that nobody can take it away from you!

  3. #3
    Member Murtaza_t's Avatar
    Join Date
    Jan 2005
    Location
    Earth
    Posts
    471

    Default

    Yes, check the file /var/cpanel/users/<username> and make sure that you have these entries without X in front of it :

    DNS1=addondomain.com
    and
    DNS2=sub.maindomain.com

    and try deleting the addon domain again.

  4. #4
    Member
    Join Date
    Jun 2005
    Posts
    37

    Default Just to let you know

    This happen to virtually all domain names with subdomain to me.

    I think this might be the source of the problem. One day, one of my users make thousands subdomain names.

    And then we run into problem because the logging system use too many files.

    So to accomodate that user, I modify the httpd.conf to reduce the number of domlogs opened.

    Now, I run into all sort of problems
    Discussion Bucks
    Discussing anything related to making or saving bucks.

  5. #5
    Member
    Join Date
    Jun 2005
    Posts
    37

    Default

    I think I will tell that users to just delete his subdomain names or leave. However, meanwhile, is there away to restore my httpd.conf to the "natural" state cpanel decide.
    Discussion Bucks
    Discussing anything related to making or saving bucks.

  6. #6
    Member
    Join Date
    Jun 2005
    Posts
    37

    Default

    I think I've found a solution

    I back up all the data. Then I terminate the account. Then I recreate the same account. Then I restore the files. The users don't mind. By doing so I removed all the subdomains.

    now is there a way to terminate or create an account from shell?
    Discussion Bucks
    Discussing anything related to making or saving bucks.

Similar Threads & Tags
Similar threads

  1. Can not remove addon domain from CPANEL
    By cuongvttt in forum New User Questions
    Replies: 3
    Last Post: 04-16-2009, 12:04 AM
  2. How do I remove an addon domain?
    By SwiftyUK in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-16-2006, 04:17 AM
  3. Addon Domain will not remove
    By cdick@ocis.net in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-14-2006, 04:09 PM
  4. User can`t remove addon domain!!??
    By x-man in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 01-04-2006, 09:06 AM
  5. Can't remove Addon Domain
    By PPNSteve in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-03-2005, 09:11 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube