ZuploZuplo
LoginSign Up
  • Documentation
  • API Reference
Introduction
Getting Started
    Develop using the Portal
      1 - Setup Your Gateway2 - Rate Limiting3 - API Key Auth4 - Deploy5 - Dynamic Rate LimitingMCP - Quick start
    Develop Locally
      1 - Setup Your Gateway2 - Rate Limiting3 - API Key Auth
Concepts
Development
Policies
Handlers
API Keys
MCP Server
MCP Gateway
AI Gateway
Developer Portal
Monetization
Deploying & Source Control
Observability
Networking & Infrastructure
Account Management
Programming API
Build with AI
Zuplo CLI
    OverviewCreate Zuplo APIAuthenticationGlobal OptionsNetwork Connectivitybucket listca-certificate createca-certificate deleteca-certificate describeca-certificate listca-certificate updatecustom-domain createcustom-domain deletecustom-domain listcustom-domain updatedeletedeploydevdocseditorinfoinitlinklistlogoutmtls-certificate createmtls-certificate deletemtls-certificate describemtls-certificate disablemtls-certificate listmtls-certificate updateopenapi convertopenapi mergeopenapi overlayproject createproject infoproject listsource migratesource upgradetesttunnel createtunnel deletetunnel describetunnel listtunnel rotate-tokentunnel services describetunnel services updatevariable createvariable updatewhoami
Migration Guides
Platform LimitsSecuritySupportTrust & ComplianceChangelog
powered by Zudoku
Zuplo CLI

Zuplo CLI: Custom Domain Create

Creates a custom domain in your account
Code
zuplo custom-domain create --hostname <hostname> [options]

Examples

Create an unassigned custom domain

Code
zuplo custom-domain create --hostname api.example.com

Create a custom domain and output the result as JSON

Code
zuplo custom-domain create --hostname api.example.com --output json

Create and assign a custom domain to a deployment

Code
zuplo custom-domain create \ --hostname api.example.com \ --deployment-name production-deployment

Create a dev portal custom domain on a specific account

Code
zuplo custom-domain create \ --hostname docs.example.com \ --deployment-name production-deployment \ --custom-domain-type dev-portal \ --account my-account

Options

--hostname

The hostname for the custom domain

Type: string

--deployment-name

The deployment name to assign the custom domain to

Type: string

--custom-domain-type

The type of custom domain to create. Defaults to api server-side.

Type: stringChoices: api, dev-portal

--account

The account name

Type: string

--output

Output format

Type: stringDefault: "default"Choices: default, jsonAlias: -o

Global options

The following global options are available for all commands:

  • --help
  • --api-key
Edit this page
Last modified on May 29, 2026
ca-certificate updatecustom-domain delete
On this page
  • Global options