> ## Documentation Index
> Fetch the complete documentation index at: https://docs.novita.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Which regions does Novita Sandbox run in?

> Novita Sandbox runs in us-phx-1 (v2, the default) and us-virginia-1 (v1, legacy). Select it with NOVITA_DOMAIN or the SDK domain option.

Novita Sandbox currently runs in two US regions: **us-phx-1**, the default v2 region, and **us-virginia-1**, the legacy v1 region. The SDK and CLI use us-phx-1 unless you point them at another region with the `NOVITA_DOMAIN` environment variable or the SDK's `domain` option.

## Details

| Region | Version | Domain | Notes |
| - | - | - | - |
| us-phx-1 | v2 | `us-phx-1.sandbox.novita.ai` | Default. Supports Secrets and Snapshots. Recommended. |
| us-virginia-1 | v1 | `sandbox.novita.ai` | Legacy. Select with `NOVITA_DOMAIN`. |

* Secrets, Snapshots, and other newer features are available only in v2 regions.
* Sandbox URLs include the region domain: `https://{port}-{sandboxId}.us-phx-1.sandbox.novita.ai`.
* You can also pass `domain` (for example `domain="sandbox.novita.ai"`) when creating or connecting to a sandbox instead of setting `NOVITA_DOMAIN`.

## How to

Use the default region — nothing to configure. To target the legacy v1 region, set the domain before running your code:

```bash theme={"system"}
export NOVITA_DOMAIN=sandbox.novita.ai
```

Learn more: [Overview — regions](https://docs.novita.ai/guides/sandbox-overview.md#regions)

## Related questions

* [How is Novita Sandbox isolated?](https://docs.novita.ai/guides/sandbox-faq-isolation.md)
* [Can I restrict internet access from a Novita Sandbox?](https://docs.novita.ai/guides/sandbox-faq-internet-access.md)
* [How long can a Novita Sandbox run?](https://docs.novita.ai/guides/sandbox-faq-max-runtime.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.