Skip to main content

Delete a domain from Cloider

Deleting a domain removes it from your Cloider account together with all of its DNS records and targets. A free subdomain is released so that anyone can claim it, and a custom domain stops being answered by Cloider's nameservers. Deletion is permanent. This page explains exactly what is deleted, how to delete from each tool, and the order to follow so that a domain you still use keeps working.

At a glance​

What is deletedThe domain, every DNS record on it, and every target routing it
What staysYour apps, clusters, Services and buckets with their websites; the domain's registration at your registrar
UndoNot possible. Add the domain again and recreate its records and targets
The name afterwardsFree to be added by any account
Who can deleteMembers with write access. Read-only members and tokens get You have read-only access to this account, you can not delete domains!
ToolsDashboard, cloider domain delete, Terraform, DELETE /api/domains/<domain>, MCP delete_domain

What happens when you delete a domain?​

  1. DNS records are removed from Cloider's nameservers, then from your account. For a custom domain that still uses Cloider's nameservers, every name under it stops resolving: resolvers get NXDOMAIN once their cached answers expire. Websites, email and verification records on the domain stop working.
  2. Targets routing the domain are deleted. The apps, cluster Services and bucket websites they pointed at keep running, and a bucket's website stays on at its own s3-website address.
  3. The domain is removed from your account, and its name is free for any account to add or claim.

Nothing changes at your registrar: the domain stays registered to you, and its nameservers stay whatever you set them to. If they still point at Cloider, change them (see below).

Before you delete a custom domain you still use​

If the domain should keep working somewhere else, move its DNS first, in this order:

  1. Export the records. cloider dns list example.com -o json > example.com-dns.json saves every record.
  2. Recreate them at the new DNS provider, including MX, SPF, DKIM and DMARC records for email.
  3. Change the nameservers at your registrar to the new provider's.
  4. Wait at least 48 hours, until resolvers have stopped asking Cloider's nameservers.
  5. Delete the domain in Cloider.

The domain's page in the dashboard says the same: This action is irreversible. Make sure to configure your domain with another DNS provider before deleting this domain.

If you only want to stop serving an app or Service on the domain, don't delete the domain: delete the target instead. The domain and its records stay.

Delete a domain​

A custom domain, from its page:

  1. Open Domains in the sidebar and click the domain.
  2. In the Delete domain section at the bottom (This will delete all associated DNS records and targets.), click Delete domain.
  3. The Delete Domain dialog says This will permanently delete the domain with its name. Click I want to delete the domain.
  4. Type the domain's name to confirm, and click Delete domain. A message confirms Domain deleted successfully.
The Delete Domain dialog asking to type example.com to confirm, with the Delete domain button
Deleting a domain asks you to type its name.

Any domain, from the list: on Domains, open the domain's actions menu, click Delete, and confirm the same way.

Verify​

The domain is gone from cloider domain list and from the Domains page. For a custom domain that still used Cloider's nameservers, Cloider now answers NXDOMAIN:

dig @ns1.cloider.com example.com A
Output
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 40212

If you moved DNS to another provider, check that the public answer comes from there:

dig example.com A +short
dig example.com MX +short

Free subdomains and app deletion​

When you delete an app, the free subdomains claimed with it are deleted too, unless you choose to keep them: the dashboard's delete dialog has them selected, and cloider app delete --keep-domains keeps them. A custom domain is never deleted with an app; only its targets to that app are removed. See Pause, resume and delete apps.

Deleting a free subdomain releases the name immediately. If you might want it again, keep it: a subdomain without targets costs nothing.

Troubleshooting​

ProblemCause and fix
You have read-only access to this account, you can not delete domains!Ask an account member with write access, or use a token with write access
the name didn't match, nothing was deleted (CLI)Type the domain's exact name at the prompt
deleting domain example.com needs --yes when not running in a terminal (CLI)Add --yes in scripts
Operation failed, could not delete DNS recordsNothing was deleted. Try again in a moment
Email stopped after deletingThe domain still pointed at Cloider's nameservers. Recreate the records at another DNS provider and change the nameservers

Next steps​

Frequently asked questions

What happens to DNS records when I delete a domain?

They are deleted with it. If the domain still uses Cloider's nameservers, every name under it stops resolving once resolvers' cached answers expire.

Does deleting a domain delete my app or cluster?

No. Only the domain, its DNS records and its targets are deleted. The apps, Services and bucket websites the targets pointed at keep running.

Can I undo deleting a domain?

No. Add the domain again and recreate its records and targets. A free subdomain can be claimed by another account in the meantime.

Does deleting a domain cancel its registration?

No. Cloider doesn't register domains. The domain stays registered at your registrar until you cancel it there.

How do I stop serving my app on a domain without deleting it?

Delete the target that routes the domain to the app. The domain and its DNS records stay.