5.2.5. Deleting a Domain
The following instructions describe how to delete a domain if it is no longer required. However, note that a domain cannot be deleted if it contains any applications.
Procedure 5.1. To Delete a Domain:
- Ensure the domain does not contain any applications with the following command:
$
rhc domain show Domain_Name
Delete any applications that exist in that domain with the following command:$
rhc app delete App_Name
Warning
Deleting an application deletes all remote data associated with that application, which cannot be recovered. - Delete the domain with the following command:
$
rhc domain delete Domain_Name
Note
You must have at least one domain to create an application.
See Also: