---
title: "ezgh hosted-queues vhosts create"
description: "Create a vhost."
---

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

# ezgh hosted-queues vhosts create

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh hosted-queues vhosts create <cluster> <name> [--default-queue-type t] [--max-queues n] [--max-connections n] [--wait] [flags]
```

Create a vhost. Its new queues are quorum queues unless `--default-queue-type` says otherwise, or the app declares another type. Celery 5.5 and later needs task_default_queue_type = "quorum" for quorum queues. default is a reserved name.

Part of [`ezgh hosted-queues vhosts`](/cli/reference/hosted-queues-vhosts).

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--default-queue-type` | string |  | quorum (the default), classic or stream |
| `--max-connections` | int |  | the most connections it may take |
| `--max-queues` | int |  | the most queues it may hold |
| `--wait` | boolean |  | wait until it's done |
| `--wait-timeout` | duration | `10m0s` | how long `--wait` waits |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/hosted-queues-vhosts-create/index.mdx
