Deleting a domain is very simple, it can be accomplished by issuing the following command in the command line:
asadmin delete-domain domainname
We should see a message like the following on the terminal window:
Command delete-domain executed successfully.
Please use the preceding command with care; once a domain is deleted, it cannot be easily recreated (all deployed applications will be gone, as well as any connection pools, datasources, and so on).