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.

Deleting Subdomain

Discussion in 'General Discussion' started by seahorse, Oct 17, 2003.

  1. seahorse

    seahorse Well-Known Member

    Joined:
    Jul 3, 2003
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    Hi,

    I have problem deleting my subdomain entries from CPanel.

    Currently using Cpanel 8.

    Problem: (example)
    - Addon domain xyz.com on xyz.mydomain.com
    - Remove addon domain xyz.com (subdomain still there)
    - Remove ftp user xyz
    - Delete directory xyz in mydomain.com

    Now, in the subdomain management in CPanel. xyz is in the dropdown list for me to choose to delete. After i choose and delete. Message is successful deleted. Checked WHM, no more xyz subdomain. xyz.mydomain.com cannot be accessed. But xyz is still in the subdomain management.

    Please advise how can i remove the xyz subdomain from the subdomain management.

    Thanks.
     
  2. TechGuy

    TechGuy Well-Known Member

    Joined:
    Nov 29, 2001
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    No one knows how to do this?!
     
  3. nat

    nat Well-Known Member

    Joined:
    Jan 16, 2003
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Almost 2 years and it still does this. Anyone find a way to fix?
     
  4. nat

    nat Well-Known Member

    Joined:
    Jan 16, 2003
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    When I deleted the addon domain, it didn't remove the stuff for it in....

    1. httpd.conf
    2. /var/cpanel/users/your-main-domains-username

    Removing the addon domain from /var/cpanel/users/your-main-domains-username will get rid of the subdomain from showing up in Cpanel.


    When I deleted the addon domain, it also didn't delete the following files for the addon domain...

    1. All of the /etc/vmail/*addon-domain-here.com files

    2. /etc/valiases/addon-domain-here.com

    3. /etc/vfilters/addon-domain-here.com

    4. /usr/local/apache/domlogs/addon-domain-here.com

    5. /usr/local/apache/domlogs/addon-domain-here.com-bytes_log
     
Loading...

Share This Page