Login to your DirectAdmin account.
In the
Account Managersection, click on theSubdomain Managementicon or type “Subdomain” in theNavigation Filterbox and then the option will appear. Click on it.
Under the “Subdomain Name”, Select the subdomain name you wish to remove.

Click on the
Deletebutton. If you also want to remove directory contents then tickRemove Directory Contentand then click on theDeletebutton.
Your subdomain will be successfully removed.