> Markdown version of https://tuna.am/en/docs/troubleshooting/errors/domain-unavailable-for-free-plan/. 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.

# Domain unavailable for free plan

```text
FATA[12:00:00] Failed to get connection settings: Domain unavailable for free plan
  Code: PaymentRequired
  Request ID: 8a03f5d1c97e4b2a6f10e8c3d5b9a742

```

tuna CLI and Tuna Desktop show this error when you start a tunnel with the `--domain` flag. The client doesn't reconnect and exits right away.

## Cause

On the free plan, the only address you can pass to `--domain` is your full [free permanent subdomain](https://tuna.am/en/docs/tunnels/http.md#free-subdomain), such as `brave-otter-4821.a.tuna.free`. The server returns this error for any other address:

* a [custom domain](https://tuna.am/en/docs/tunnels/http.md#custom-domain), such as `api.example.com`;
* a tuna subdomain reserved under a subscription that has expired;
* another user's subdomain or an address that doesn't exist.

## What to do

1. Find your free subdomain in [Domains](https://my.tuna.am/domains?lang=en) in the dashboard, and run `tuna whoami` to check that the client is signed in to your account.

2. Start the tunnel with it:

   ```shell
   tuna http 8080 --domain=brave-otter-4821.a.tuna.free

   ```

3. If the address doesn't matter, drop `--domain`: the tunnel will get a dynamic address.

4. Custom domains and subdomains with any name are available with a [subscription](https://tuna.am/#pricing).
