Skip to content

Deleting sites

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.

Alt text

You will be prompted to confirm.

Deleting a site removes all files, but will not remove MySQL databases. This must be done from the database page.

Site deletion is a destructive action

Note 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

MySQL databases for an account will not be removed.

The psdel utility will ask if you wish to delete the site's home directory and all files contained within it.