跳转到主要内容

Create custom hostnames

import { Render, TabItem, Tabs } from "~/components";

There are several required steps before a custom hostname can become active. For more details, refer to our Get started guide.

:::caution[Zone name restriction]

:::

To create a custom hostname:

Hostnames over 64 characters

The Common Name (CN) restriction establishes a limit of 64 characters (RFC 5280). If you have a hostname that exceeds this length, you can set cloudflare_branding to true when creating your custom hostnames via API.


"ssl": {
    "cloudflare_branding": true
  }

Cloudflare branding means that sni.cloudflaressl.com will be added as the certificate Common Name (CN) and the long hostname will be included as a part of the Subject Alternative Name (SAN).