Skip to main content

Using the Dashboard

To delete a site, click the context menu next to a site card and then “Settings”. On the site settings page you can scroll to the “Danger Zone” at the bottom. Danger Zone You will be prompted to confirm. Note that deleting a site removes all MySQL databases owned by the site.
Site deletion is a destructive actionNote that when deleting a site, any processes running under that site’s user will be killed.

Using the CLI

To delete a Cito site use the psdel utility, you specify the domain name with -d:
cito~ # psdel -d test.org

[+] Deleting site test.org with username test
Are these details correct? (y/N):y
[+] test.org removed from Cito database.
Do you wish to remove the user's homedir and all associated files? (y/N):y
Deleting a site removes all databases owned by that site. The psdel utility will ask if you wish to delete the site’s home directory and all files contained within it.