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

# Production alias (deprecated)

> Reference for the deprecated production-alias system on SQD Cloud — pin a hostname to a specific squid version, now replaced by slots-and-tags.

<Warning>
  Production aliasing feature is deprecated in `@subsquid/cli>=3.0.0`. Use [Slots and tags](/en/cloud/resources/slots-and-tags) instead.
</Warning>

Version aliasing is used to switch between squid versions without a downtime and updates of the downstream clients.
Each squid has a canonical production endpoint URL of the form

```bash theme={"system"}
https://<org name>.subsquid.io/<squid name>/graphql
```

To alias a squid version to the production endpoint, use [`sqd prod`](/en/cloud/reference/cli/prod):

```bash theme={"system"}
sqd prod <squid name>@<version>
```

Note that after promoting to the production the version-specific endpoint URL of the form

```bash theme={"system"}
https://<org name>.subsquid.io/<squid name>/v/v<version>/graphql
```

remains to be available.

## Example

Assuming your organization is called `my-org`, running

```bash theme={"system"}
sqd prod my-squid@v1
```

will make the endpoint of the v1 of `my-squid` accessible at `https://my-org.subsquid.io/my-squid/graphql`.
