Review site deletion and its consequences
Review what Delete site removes before using it.
Review what Delete site removes before using it. This guide shows Herne 3.55.43 with fictional Northstar Studio data and synthetic English narration. The dialogs are opened and filled without submitting. No site, file, database, mail account, certificate or DNS record is deleted. The failure message is an illustrative fixture.
Demonstration: English interface and synthetic English voice, fictional Northstar Studio. Every site and notice is synthetic. Confirmation dialogs are not submitted. No deletion, DNS, certificate, database, mail or host operation runs. Complete text and subtitles are available in six languages.
English audio · 7 min 12 sec · Subtitles in all six site languages.
1. Choose the site and review the scope
Review what Delete site removes before using it. This guide shows Herne 3.55.43 with fictional Northstar Studio data and synthetic English narration. The dialogs are opened and filled without submitting. No site, file, database, mail account, certificate or DNS record is deleted. The failure message is an illustrative fixture.
Open the intended site and verify its primary domain in the header. Settings and Danger zone expose the site deletion dialog. The server requires permission to delete this site: its owner or an administrator can qualify; another tenant cannot. Seeing a control is not a substitute for authorization or checking the target.
This operation permanently removes the site and resources managed through its deletion workflow. It is not a way to delete one alias, one file or only a database, and it is not primary domain migration. If the intended task is narrower, leave this dialog and use the relevant separate workflow. Do not use site deletion as a temporary pause.
2. Preserve recovery copies and review dependencies
Before an intended real deletion, retain verified, recoverable copies outside the site root and its backup directory. Include required files, database exports, mail and configuration needed for recovery. The deletion path does not create a fresh backup. A backup listed inside the same site can be removed with that site. Confirm access to the retained copies and the restoration plan first.
Review the attached databases and database users, SFTP accounts, mail configuration and stored mail, deployment keys, queue workers and scheduler. Site deletion uses a dedicated database cleanup path; the usual app-use check for deleting an individual database does not protect the owning app here. Database ownership and protected-target guards still apply. Arrange dependent application and mail continuity before proceeding.
DNS cleanup targets an exact matching, automatically managed subdomain entry for the site owner, including a matching panel-managed record. It does not delete the apex domain zone or arbitrary manual DNS records. Active provider cleanup also depends on the recorded external identity. Review remaining DNS, aliases and external services separately; deleting the site does not close a registrar account or prove every remote reference is gone.
| Resource | Review before deletion |
|---|---|
| Files and local backups | Retain verified copies outside the site root |
| Databases, mail and accounts | Review continuity and separate recovery copies |
| DNS and external services | Exact managed subdomain scope; inspect remaining remote references |
3. Read the warning and exact confirmation
In Danger zone, read the entire warning, including web root and backups, databases, accounts, mail, runtime configuration, SSL and managed DNS. The page Delete site button opens confirmation; it does not submit deletion. Opening this dialog does not validate backup quality or prepare a rollback. If the target or intended scope is wrong, stop here.
The dialog repeats the primary domain and the deletion warning. Its final Delete site button is disabled while confirmation is empty or different. Read the displayed domain again, especially when several browser tabs are open. This field is the target domain, not your password, an API token or a generic confirmation word.
Type the exact displayed domain. The browser comparison does not trim spaces or ignore case, and the server also checks an exact match before calling deletion. A different hostname leaves the button disabled. An enabled button means only that the text matches; it does not prove backups, service readiness or permission to carry out an unreviewed task.
4. Distinguish cancellation, list action and submission
Cancel, the close control or Escape dismisses the unsubmitted dialog. Filling the correct text alone does not delete anything. This demonstration stops before the final Delete site and closes the dialog. Cancelling beforehand is different from cancelling a request already sent; the page provides no stop or undo control for an in-progress deletion.
The Sites list also offers a trash action on each row. It opens the same kind of typed confirmation for that domain and reaches the same deletion service. It does not merely remove a row from the list. Review the row domain and full warning instead of assuming the smaller control has a smaller effect.
In a real reviewed deletion, the final Delete site submits the destructive request after exact confirmation. This is not a dry run, a recycle bin or a backup command. The controller calls cleanup during the request rather than creating a dedicated deletion status job. Do not click repeatedly or submit the same site from another tab while waiting.
5. Understand cleanup and successful completion
Cleanup first checks for pending legacy PHP-FPM pool retirement, then removes managed worker and scheduler units before mail, SFTP, databases and managed DNS. Runtime configuration, site files, certificate cleanup, keys and system accounts follow before the site record is removed. Legacy retirement can block deletion and require operator attention. Do not bypass that guard by removing the record manually.
The site-root removal includes its web root and local backup content. Runtime removal changes Nginx and dedicated PHP-FPM configuration. Certificate deletion is requested separately; its failure can be logged as a warning without failing the whole site deletion. A success notice therefore does not prove every certificate artifact or external resource disappeared. Have the operator verify the intended cleanup.
On successful completion, the web flow redirects to Sites with a deletion message. The removed site has no restore button in this workflow. Creating a new site with the same domain creates a new resource; it does not restore old data or identities. Check remaining DNS and remote integrations independently, and handle credentials still trusted by external providers through their own controls.
6. Investigate partial failure before recovery or retry
If cleanup throws an error, the web flow returns to Danger zone with a generic partial-deletion notice and keeps the site record. Earlier steps may already have removed databases, mail or accounts. There is no overall transaction restoring those host changes. Read the notice as a request to investigate, not proof the site is intact or an instruction to retry immediately.
A timeout, lost connection or stale browser page does not establish whether deletion finished. Refresh the Sites list through a fresh navigation and ask the operator to inspect the site record, affected services and private logs. Avoid repeating a browser POST or sending another delete request until the actual state and remaining cleanup have been established. Keep useful evidence without exposing credentials.
For recovery, work with the operator from the verified copies retained outside the deleted site. Restoring files alone may not restore databases, mail, accounts, DNS or background services. Do not bypass a failure with manual record removal, broad filesystem deletion or a command-line purge. This walkthrough ends with an unsubmitted confirmation; any real deletion remains a separate, deliberate operation for the exact site.
| Control or result | Meaning |
|---|---|
| Page Delete site / list trash | Opens typed confirmation; same deletion scope |
| Final Delete site | Sends destructive request after exact-domain match |
| Cancel / close / Escape | Dismisses an unsubmitted dialog |
| Partial failure | Record retained does not prove resources survived |