Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Files and dirs are not removed after deleting addon/subdomain

Discussion in 'General Discussion' started by rahnev, Aug 6, 2018.

Tags:
  1. rahnev

    rahnev Active Member

    Joined:
    Jul 6, 2016
    Messages:
    40
    Likes Received:
    3
    Trophy Points:
    8
    Location:
    Bulgaria
    cPanel Access Level:
    Root Administrator
    When you delete addon/subdomain files and dirs, associated with this domain are not deleted and stay on the file system. Tested on cPanel v72.

    Is this a feature or bug? Is there a solution for this behavior?
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,774
    Likes Received:
    1,995
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @rahnev,

    It's by design that files/directories stored under the document root associated with an addon domain or subdomain are not removed when the domain itself is removed from the cPanel account. I encourage you to vote and add feedback to the following feature request if this is something you'd like to see added to the product:

    Option to delete folder when deleting domain

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. PeteS

    PeteS Well-Known Member

    Joined:
    Jun 8, 2017
    Messages:
    138
    Likes Received:
    23
    Trophy Points:
    18
    Location:
    Oregon
    cPanel Access Level:
    Root Administrator
    This seems like a no-brainer, that the option to remove the /folder/files would be presented when removing a subdomain or add-on domain. If a user adds and removes many but doesn't clean up the folders it becomes a mess, and also uses disk space.

    Please up vote the feature request!

    Option to delete folder when deleting domain
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice