Wednesday, June 22, 2016

cPanel Subdomain Deletion Script Delete cPanel Subdomains In PHP

Designed to delete cPanel subdomains on cPanel hosting.

Input:

  • cPanel account username
  • cPanel account password
  • cPanel skin
  • list of subdomains to be deleted in the plain text file (for bunch subdomains delete)

Update program header with above settings and php script is ready to use.  

Usage: (you can use this script in either way)

  • Open script in browser and fill the form data
  • Pass all information via URL (form will not appear in this case)
    Example: subdel.php?cpaneluser=USER&cpanelpass=PASSWORD&domain=DOMAIN&subdomain=SUBDOMAIN
  • List all subdomains to be deleted in the plain text file
Note: If script cannot find file with subdomains and no parameters passed via URL then it will show input form.

Download Delete cPanel Subdomain PHP Script