vercel domains
The vercel domains
command is used to manage domains under the current scope, providing functionality to list, inspect, add, remove, purchase, move, transfer-in, and verify domains.
You can manage domains with further options and greater control under a Vercel Project's Domains tab from the Vercel Dashboard.
vercel domains ls
Using the vercel domains
command to list all domains
under the current scope.
vercel domains inspect [domain]
Using the vercel domains
command to retrieve
information about a specific domain.
vercel domains add [domain] [project]
Using the vercel domains
command to add a domain to
the current scope or a Vercel Project.
vercel domains rm [domain]
Using the vercel domains
command to remove a domain
from the current scope.
vercel domains buy [domain]
Using the vercel domains
command to buy a domain for
the current scope.
vercel domains move [domain] [scope-name]
Using the vercel domains
command to move a domain to
another scope.
vercel domains transfer-in [domain]
Using the vercel domains
command to transfer in a
domain to the current scope.
These are options that only apply to the vercel domains
command.
The --yes
option can be used to bypass the confirmation prompt when removing a domain.
vercel domains rm [domain] --yes
Using the vercel domains rm
command with the
--yes
option.
The --limit
option can be used to specify the maximum number of domains returned when using ls
. The default value to 20
and the maximum is 100
.
vercel domains ls --limit 100
Using the vercel domains ls
command with the
--limit
option.
The --force
option forces a domain on a project, removing it from an existing one.
vercel domains add my-domain.com my-project --force
Using the vercel domains add
command with the
--force
option.
The following global options can be passed when using the vercel domains
command:
For more information on global options and their usage, refer to the options section.
Was this helpful?