> ## Documentation Index
> Fetch the complete documentation index at: https://citodocs.prostack.host/llms.txt
> Use this file to discover all available pages before exploring further.

# Deleting Sites

> How to delete sites from your Cito server

## 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.

<img src="https://mintcdn.com/prostackhosting/mdYxEEoAStQaBUbz/images/screenshots/dangerzone.png?fit=max&auto=format&n=mdYxEEoAStQaBUbz&q=85&s=e07a817eef5ccab0435b6665547e2a28" alt="Danger Zone" width="2006" height="258" data-path="images/screenshots/dangerzone.png" />

You will be prompted to confirm.

Note that deleting a site removes all MySQL databases owned by the site.

<Warning>
  **Site deletion is a destructive action**

  Note that when deleting a site, any processes running under that site's user will be killed.
</Warning>

## 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.
