> Markdown version of https://tuna.am/en/docs/cli/domain/reserve/. Documentation index: [llms.txt](https://tuna.am/en/llms.txt), full text in one file: [llms-full.txt](https://tuna.am/en/llms-full.txt). Any page is available as Markdown: append `.md` to its URL without the trailing slash.

# tuna domain reserve

Reserve a subdomain or add your own domain.

Reserve a subdomain: tuna domain reserve myapp Add your own domain: tuna domain reserve example.com, then create the DNS record it prints.

Alias: `add`.

Usage

```bash
tuna domain reserve NAME [flags]

```

| Flag                    | Description                                                                                                       |
| ----------------------- | ----------------------------------------------------------------------------------------------------------------- |
| `--redirect-to string`  | Your domain only: redirect it to its subdomain, e.g. [www.example.comOpens in a new tab](http://www.example.com). |
| `-l, --location string` | Deprecated in 0.39: the server picks the zone for new names and ports itself.                                     |

Also accepts the flags of [`tuna domain`](https://tuna.am/en/docs/cli/domain.md).

[Global flags](https://tuna.am/en/docs/cli.md#global-flags) work too.

## History

|        |                                                                                                                                  |
| ------ | -------------------------------------------------------------------------------------------------------------------------------- |
| 0.39.0 | Added the `--redirect-to` flag.<br />Deprecated the `--location` flag: the server picks the zone for new names and ports itself. |
