# Your site's temporary domain

> Every environment gets its own HTTPS address under wpwaterfall.dev, built from the site name, so renaming the site moves them all.

Source: https://docs.wpwaterfall.com/temporary-domain

Every environment gets a temporary domain under `wpwaterfall.dev`, with HTTPS, as soon as it is created. You can open the site there before you add your own domain. The addresses follow the site name, so renaming the site moves them all.

## What does a temporary domain look like?

| Environment | Address | Example for a site called Elric |
| --- | --- | --- |
| Live | `live-<label>.wpwaterfall.dev` | `live-elric.wpwaterfall.dev` |
| Staging | `staging-<label>.wpwaterfall.dev` | `staging-elric.wpwaterfall.dev` |
| A branch named `qa` | `qa-<label>.wpwaterfall.dev` | `qa-elric.wpwaterfall.dev` |

The label is the site name in lowercase letters, digits, and hyphens, up to 30 characters. `Elric`, `elric`, and `Elric!` all give `elric`. A name typed as an address loses its top level domain, so `https://www.cameronandrews.net/` gives `cameronandrews`. Addresses never contain random characters.

In a subdomain Multisite network, every site except the main one gets `<site>-<environment address>`, such as `es-staging-elric.wpwaterfall.dev`. See [WordPress Multisite](https://docs.wpwaterfall.com/wordpress-multisite).

A preview named `qa` on the site `elric` can only be `qa-elric.wpwaterfall.dev`. If that address is in use, WP Waterfall refuses to create the environment. Pick another environment name.

HTTPS comes from the platform certificate for `*.wpwaterfall.dev`, served by Cloudflare. A new site answers on HTTPS within about a minute. Staging stays out of search engines whatever its name (see [Staging privacy](https://docs.wpwaterfall.com/staging-privacy)). A test site runs on a simulated server, so its temporary domain does not answer on the internet.

## Is it indexed by search engines?

No. The temporary domain is for building and checking your site, not for visitors found through search, so it is never indexed. This is set at the edge, for every site, and you cannot turn it off:

- Every answer on a `wpwaterfall.dev` address carries `x-robots-tag: noindex, nofollow, noarchive, nosnippet, noimageindex, notranslate`, including error pages, images, and other files.
- Known AI crawlers and AI assistants get a `403 Forbidden` there. Search engines can still read the header, so they learn not to index it.
- The page still loads for people, and nothing redirects, so your own checks and bookmarks keep working.
- Your own domains are not changed. Search engines and crawlers reach your live site on your own domain as you set it up.

When your site is live, connect a domain of your own so that it can be found. Staging and preview environments are never indexed either. See [Staging privacy](https://docs.wpwaterfall.com/staging-privacy).

## How do I open it?

1. Choose **Sites** in the sidebar and open the site.
2. On **Info**, choose **Visit site**. The site opens in a new tab.

The **Domains** tab shows the same address in the first row, marked **Temporary**. To use your own address, see [Domains](https://docs.wpwaterfall.com/domains). The temporary domain stays after you add one.

## What does "No site here yet" mean?

Any `wpwaterfall.dev` address with no site behind it shows a short page that says **No site here yet**. You see it for a deleted site, for a name with a typo, or for a few seconds while a new site is being set up. Try again in a minute. If a site you can see in the dashboard still shows the page after a few minutes, contact support.

## Which site names are allowed?

No two sites can share a name, whoever owns them. Names that give the same label are the same name, so if another customer has Elric, you cannot have `elric` or `Elric!`. WP Waterfall says **That name is already taken. Choose another.** and never says who has the name. The Add site and rename forms check the name as you type. A deleted site frees its name.

WP Waterfall refuses reserved names such as `www`, `api`, `my`, `mail`, `docs`, `live`, `staging`, and `status`, and names that contain the name of WP Waterfall or of a bank or payment company. It says **That name is reserved. Choose another.** A name needs at least one letter or digit.

## How do I rename a site?

You cannot rename one environment's address alone. Rename the site, and every address follows. You need permission to edit the site. You cannot rename while an environment is being created or deleted, or while another rename runs.

1. Open the site and go to **Info**.
2. In **Site details**, choose the pencil next to **Site name**.
3. Type the new name. **Save** stays off until the name is free.
4. Choose **Save**. If the site has custom domains, WP Waterfall shows which records change, and the rename starts when you choose **Rename site**.

While the job runs, **Site details** shows **Updating addresses** with a link to its progress. The job handles one environment at a time, staging and previews first, live last:

- It adds the new address to Cloudflare DNS and routes it to the environment.
- It takes a restore point, kept 48 hours, then replaces the old address with the new one in the database. Serialized data stays valid, so widgets, options, and page builder content keep working. A Multisite network moves every site.
- It moves subdomain network addresses, such as `es-staging-elric`, to the new name.
- It clears the page cache, so the new address never redirects to the old one.
- Only then does it release the old address: the DNS record, routing, and edge settings.

A sleeping environment wakes for its step. A custom primary domain is not changed, and only the temporary address moves. The old addresses stop working when the job finishes, with no redirect, so update any links you shared.

If a step fails, WP Waterfall puts the moved environments back on their old addresses, restores the old site name, and fails the job with a plain sentence that says why.

## What happens to my custom domains in a rename?

A custom domain connected with a CNAME to `sites.wpwaterfall.dev`, or with A and AAAA records, does not depend on the site name. A rename leaves it alone, and the rename dialog does not list it.

Only a domain that still has an older CNAME to the temporary domain of its environment is affected. The old name stops working at once, with no grace period, so the rename replaces that CNAME in the same job.

- **WP Waterfall hosts the DNS** (a zone in **DNS**). WP Waterfall replaces the CNAME with one to `sites.wpwaterfall.dev` itself. The job log says **Connected www.example.com with a CNAME to the fallback origin** for each one, and the change appears in the zone history and audit log. If a change fails, the job log says so, the CNAME is put back, and WP Waterfall retries within minutes.
- **The DNS is at your registrar or another provider.** WP Waterfall cannot change it. The rename dialog lists these domains with the CNAME target to set and a copy button. Replace the CNAME as soon as the rename starts, or the domain stops answering. The job log also warns about each one.

## What happens when I delete an environment or site?

Deleting an environment removes its address. Deleting a site releases its name for any customer to use.

## How do I use the API?

- `GET /v1/sites/name-available?name=Elric` returns `{ "available": true, "label": "elric", "reason": null, "message": null }`, or `available: false` with the reason `taken`, `reserved`, or `invalid`. Send `site_id` when a site checks its own new name. It needs a sign-in or an API key with `sites:read`, and answers `429` after 60 checks a minute.
- `POST /v1/sites` answers `409` with `site_name_taken` for a taken name and `422` with `site_name_reserved` for a reserved one.
- `GET /v1/sites/{id}/rename-impact?name=Birch` lists the custom domains a rename changes. Each has `update` set to `automatic` or `manual`, plus `current_target` and `new_target`. It needs the right to rename the site, and returns the same `409` and `422`.
- `PATCH /v1/sites/{id}` with `{ "name": "Birch" }` renames the site and returns `address_job_id` while the job runs. It returns the same `409` and `422`, and `409` when a rename already runs. An API key needs `sites:write`.

## How do I use MCP?

The `rename_site` tool renames a site. It asks you to confirm before it changes anything.
