The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Removing Parked/Addon domains doesn't clean up entries?

Discussion in 'General Discussion' started by ajaydsouza, Sep 30, 2006.

  1. ajaydsouza

    ajaydsouza Active Member

    Joined:
    Apr 14, 2006
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Hi,

    I have had a cPanel account (username account1) with a host for over two years now, during which period I had added / removed a lot of parked and addon domains for many sites I had hosted during this period.

    Only recently did I move the account to a new reseller account in its current state of one parked, one addon and two subdomains. (The host transferred the account for me using WHM)

    Today when I was doing a bandwidth change for that account (account1), I realized that it still listed all these old parked / addon domains and their subdomains.

    This was a huge list and since the account still controlled them, the bandwidth of few of these domains (which had their own account) were still be counted in this original account(account1).

    How do I delete all these old entries for account1
     
  2. angelina_holy

    angelina_holy Well-Known Member

    Joined:
    Aug 6, 2006
    Messages:
    113
    Likes Received:
    0
    Trophy Points:
    16
    you will need to delete them from shell
     
  3. ajaydsouza

    ajaydsouza Active Member

    Joined:
    Apr 14, 2006
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    How do I do this exactly?
     
  4. jayh38

    jayh38 Well-Known Member

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    36
    Since you state that you are a cpanel client, you would need to
    contact your hosting service provider to fix that for you.
     
  5. ajaydsouza

    ajaydsouza Active Member

    Joined:
    Apr 14, 2006
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    I also run my own VPS. So which file would I need to edit?
     
  6. angelina_holy

    angelina_holy Well-Known Member

    Joined:
    Aug 6, 2006
    Messages:
    113
    Likes Received:
    0
    Trophy Points:
    16
    When you park a domain , a dns entry gets created for it in /var/named . You can try deleting the dns entry (dbrecord)

    When you add a addon domain , a dns entry gets creared in /var/named and a subdomain gets created under a main domain in /home/user . you can remove the dns entry from /var/named also delete that subdomain from /home/user . Also you will need to remove the addon domain /etc/localdomains
     
  7. ajaydsouza

    ajaydsouza Active Member

    Joined:
    Apr 14, 2006
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Thanks for the detailed explanation angelina_holy

    Things are a lot clearer now about what goes where :)

    Just one clarification, /home/user means the username correct?

    Is that the only place where subdomain information is stored?

    Or is subdomain record made in /var/named ?
     
  8. Convergence

    Convergence Member

    Joined:
    Oct 8, 2006
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Same problem...

    Hi,

    I'm having the same problem - I deleted, via cPanel, an add-on domain that had hundreds of sub-domains - but the sub-domains still appear (does not remove the file or directory that it displays), they also appear in the ftp accounts.

    Any way to clean them up at one time, not just finding where each add-on domain is located and deleting them one at a time from MANY locations? Any way to do this from WHM?

    Also, there appears to be some "ghost" accounts/domains - when logging into a cpanel account using the root password - in the list of accounts (where you can switch between account cpanels) there are accounts/domains that do not show up anywhere else? How does one get rid of these "ghost" accounts/domains?

    Thanks!
     
Loading...

Share This Page