lizard domain

Show the current domain, or attach a custom one.

Usage

lizard domain [hostname] [flags]

The hostname is a positional argument — there is no add subcommand. Running lizard domain with no arguments shows the service’s current domain.

Flags

FlagDescription
-s, --service <name>Service
--port <n>Port to expose

Subcommands

lizard domain generate

Generate a fresh *.onlizard.com subdomain.

lizard domain verify <hostname>

Check the TXT record and activate the domain. TLS is provisioned automatically.

lizard domain delete <hostname>

Remove a domain (alias rm).

FlagDescription
-y, --yesSkip confirmation

Examples

Show the current domain

lizard domain

Generate a subdomain

lizard domain generate

Attach a custom domain

lizard domain app.example.com --service web

Lizard returns the DNS records to create (a CNAME for the hostname and a TXT record for verification). Add them at your DNS provider, then verify:

lizard domain verify app.example.com

Attach a domain to a specific port

lizard domain app.example.com --service web --port 8080

Remove a domain

lizard domain delete app.example.com
lizard domain rm app.example.com --yes

See also