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!

Delete all subdomain

Discussion in 'General Discussion' started by ardameh, Jan 9, 2013.

  1. ardameh

    ardameh Registered

    Joined:
    Dec 8, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    hi
    i want to delete all sub-domain that created with a hacker
    more than 200 sub-domain ...

    please help me to do this in cpanel
     
  2. hgrg

    hgrg Well-Known Member

    Joined:
    Oct 4, 2010
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    56
    cPanel Access Level:
    Root Administrator
    there are subdomains which are created for addon domains do not forget about that..
     
  3. ardameh

    ardameh Registered

    Joined:
    Dec 8, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    i have not any addon domain !
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,887
    Likes Received:
    1,814
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    There are no native options available to delete multiple subdomains at the same time in cPanel/WHM. Instead, you can utilize our API to develop a custom script. Our subdomain API is documented at:

    SubDomain Module Documentation

    You can utilize this information to write a script based off of the following post:

    Bulk Addon Domain Removal

    This post was intended for addon domain names, so you will have to modify the script so that it uses the functions for subdomains.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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