[egulu CLI reference](../index.md) / [egulu custom-domains](index.md)

# egulu custom-domains create

POST /v1/projects/{project}/locations/{location}/customDomains

```sh
egulu custom-domains create <NAME> [options]
```

## API operation

[CustomDomains_create](../../api/edge/CustomDomains_create.md): `POST /v1/projects/{project}/locations/{location}/customDomains` (edge module)

## Arguments

| Name | Required | Description |
|---|---|---|
| `NAME` | yes | the customDomainId |

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--display-name` | value | no | displayName |
| `--domain-name` | value | no | domainName |
| `--location` | value | yes | location |
| `--owner-email` | value | no | ownerEmail |
| `--project` | value | yes | project |
| `--target-hostname` | value | no | targetHostname |
| `--upstream-target` | value | no | upstreamTarget |
| `--validate-only` | value | no | validateOnly |

The [global options](../index.md) apply too.
