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.

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:
    6
    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:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    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.
     
Loading...

Share This Page