Skip to main content
Domains

Move, migrate, or remove a domain

Cut a live domain over to Easel, move it between projects, or detach it.

Migrate a live domain to Easel

A cutover changes where public DNS sends visitors. Prepare Easel and a rollback path first, then change one record.

Before the cutover

Validate the deployment first with the cutover checklist. Then:

  • Test the deployment through its deployment URL. If the app needs the real hostname, use a local hosts-file override rather than moving public DNS early.
  • Add the custom domain to the project. Leave the old record in place; Easel can't verify the domain until DNS points at it.
  • Record every existing DNS entry: A, AAAA, CNAME, MX, TXT, CAA, SRV, and email-authentication records such as SPF, DKIM, and DMARC.
  • Lower the TTL of the record you'll change, then wait for the old TTL to expire.

Change DNS

Replace only the web-routing record with the one the dashboard shows: an A record to the edge IP for an apex, or a CNAME to the domain's own target for a subdomain. See Configure DNS.

  • Don't touch MX, SPF, DKIM, DMARC, or other services' TXT records.
  • Behind Cloudflare's proxy, also add the _acme-challenge record. See Use Cloudflare's proxy.
  • Expect HTTPS requests to fail briefly until Easel issues the certificate.

Changing nameservers moves every record at once. Prefer changing one record unless moving DNS hosting is the goal.

Verify and monitor

From more than one network, confirm DNS reaches Easel, the certificate is valid, the right project and deployment respond, canonical redirects work, and sign-in, APIs, and email still work:

dig example.com A
dig www.example.com CNAME
curl -I https://example.com

Then watch Observability for error rate, latency, and function failures. Clients keep cached DNS answers for a while, so keep the old platform and its credentials until traffic has moved. Raise the TTL once things are stable.

Roll back the cutover

  1. Restore the previous routing record.
  2. Keep the domain on Easel while caches expire; clients that cached the new answer keep reaching Easel until then.
  3. Confirm traffic returns to the previous host.
  4. Fix the issue before trying again.

To roll back to an earlier deployment on Easel instead, see Promote and roll back.

Your Easel domain

Every project gets a short production URL under tryeasel.app, such as my-app.tryeasel.app, when it's created. It serves the Current Production deployment over HTTPS with no DNS setup, and it's listed first in Project settings → Domains.

The name comes from the project's slug. If that name is taken or reserved, Easel adds a hyphen and four letters and numbers, such as my-app-k3xq. Renaming the project doesn't change its Easel domain.

Change your Easel domain

You can change the name at any time. The old name keeps working: it redirects (308) to the new one, so links people already shared still land on your app.

  1. Open Project settings → Domains.
  2. On the Easel domain row, select Change.
  3. Enter the new name. The form tells you whether it's available.
  4. Select Save.
The Easel domain acme-app.tryeasel.app with Change open, the name acme-store typed in, and the note acme-store.tryeasel.app is available

Pick a new name; the old one keeps redirecting to it

To change it with the API, send PATCH /v1/projects/{project}/domains/{domain} with { "name": "new-name" }.

Names use lowercase letters, numbers, and hyphens, up to 63 characters. Some names are reserved for Easel, such as www, api, app, and docs.

Remove an old name

A project's current Easel domain can't be removed; change it instead. An old name that redirects can be removed like any other domain. After you remove it, other workspaces can't take it for 90 days, and your workspace can choose it again at any time. Deleting a project holds its names the same way.

Cookies on a shared domain

Every project's Easel domain shares the parent domain tryeasel.app, so a page on another tryeasel.app site can set cookies that reach the parent domain. If your app keeps sessions or other sensitive state in cookies:

  • Prefix cookie names with __Host- and set them Secure with Path=/ and no Domain attribute. Browsers then accept the cookie only from your exact hostname.
  • Check the Origin header on requests that change data.
  • For a production app with signed-in users, serve it from a custom domain.

Move a domain between projects

To move a domain to another project in the same workspace, add it to the destination project. Easel says which project has it; select Move to this project to confirm. Don't remove it from the source first.

  • The domain keeps its DNS records, CNAME target, and certificate, so you don't change DNS.
  • A Live domain switches to the destination's Production deployment immediately. If the destination has no Production deployment yet, the domain stops serving the source project and returns a not-found response until the destination deploys.
  • The display settings you chose when adding it, such as a redirect, replace the old ones.

To move a domain to another workspace, add it in the destination workspace and add the record the dashboard shows: a CNAME to the target shown for that workspace's claim for a subdomain, or a TXT record for an apex. The domain moves without removing it from the source first. See Domain ownership.

Remove a domain

Removing a domain detaches it from the project. It doesn't cancel the registration, change records at an external DNS provider, or delete deployments. With Easel DNS, Easel also removes the hostname's managed A and AAAA records.

Before you remove a domain that's in use, check whether it's used for API requests, authentication callbacks, webhooks, email links, mobile deep links, cookies, or customer integrations.

  1. Open Project settings → Domains.
  2. Select the remove (trash) button on the domain's row.
  3. Select Remove to confirm.

The domain stops serving the project within a few seconds. Update any redirect domains that pointed at it, then remove the DNS record when you no longer need it. Until then, Easel answers requests for it with not found.

A removed apex stays reserved for your workspace while its A record still points at Easel. See Removed domains.

Wildcard domains

A project can have a wildcard domain such as *.shops.example.com, so every name under it reaches the same app without adding a domain for each one. This suits one app that serves many tenants.

  1. Add shops.example.com as a wildcard domain on the workspace's Domains page: select Add Domain, choose Keep my DNS provider, and add the two CNAME records the dashboard shows. See Add a wildcard domain.
  2. Once it's live, open Project settings → Domains and add *.shops.example.com.

The wildcard covers names exactly one label under it, such as alice.shops.example.com but not eu.alice.shops.example.com. It's live when the workspace wildcard domain is, and serves the project's production deployment. It serves content only; it can't redirect. A name under it that's on a project of its own still goes to that project: the exact name always wins over the wildcard.

When your code reads the Host header, map it to a known customer rather than trusting any subdomain.

If you deploy many apps, each in its own project, the same workspace wildcard domain gives each project a name under one domain, live without DNS records of its own. See Set up your domains.