---
title: "ezgh sso custom-domains"
description: "Custom domains: serve the directory on your own hostname."
---

> 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 sso custom-domains

{/* 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 sso custom-domains <command>
```

Custom domains serve the directory on hostnames you own (login.acme.com) besides https://&lt;alias&gt;.sso.ezgh.app: the portal, the OpenID Connect issuer https://&lt;hostname&gt; and SAML entity IDs on that host, with a certificate EZGH SSO has issued and renews. Each needs a TXT record proving ownership and a CNAME to &lt;alias&gt;.sso.ezgh.app. Custom domains are given by hostname.

Part of [`ezgh sso`](/cli/reference/sso).

## Flags

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

## Subcommands

| Command | Description |
| --- | --- |
| [`ezgh sso custom-domains create`](/cli/reference/sso-custom-domains-create) | Serve the directory on your own hostname; publish the two DNS records it prints |
| [`ezgh sso custom-domains delete`](/cli/reference/sso-custom-domains-delete) | Stop serving the directory on a custom domain, at once |
| [`ezgh sso custom-domains get`](/cli/reference/sso-custom-domains-get) | Show a custom domain: its status, certificate and the DNS records it needs |
| [`ezgh sso custom-domains list`](/cli/reference/sso-custom-domains-list) | List the directory's custom domains and their status |
| [`ezgh sso custom-domains verify`](/cli/reference/sso-custom-domains-verify) | Check a custom domain's DNS records now |

Source: https://docs.ezghcloud.com/cli/reference/sso-custom-domains/index.mdx
