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 Update

Updates the deployment assignment for a custom domain
Code
zuplo custom-domain update --hostname <hostname> [options]

Examples

Reassign a custom domain to a deployment

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

Update a custom domain and output the result as JSON

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

Detach the current deployment assignment while preserving the stage

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

Update a custom domain on a specific account

Code
zuplo custom-domain update \ --hostname docs.example.com \ --deployment-name portal-deployment \ --account my-account

Options

--hostname

The hostname for the custom domain

Type: string

--deployment-name

The deployment name to assign the custom domain to. Omit to detach the current assignment.

Type: string

--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
custom-domain listdelete
On this page
  • Global options