Skip to main content
Command

terminus domain:lookup


Description

Displays site and environment with which a given domain is associated. Note: Only sites for which the user is authorized will appear.

Example Usage

terminus domain:lookup --format FORMAT --fields FIELDS --field FIELD -- <domain>

domain:lookup <domain_name> Returns the site and environment associated with <domain_name> or displays not found.


Options

OptionDescription
--ansiForce (or disable --no-ansi) ANSI output
--defineDefine a configuration item value.
--fieldSelect just one field, and force format to *string*.
--fieldsAvailable fields: Site ID (site_id), Site Name (site_name), Environment ID (env_id)
--formatFormat the result data. Available formats: csv,json,list,null,php,print-r,string,table,tsv,var_dump,var_export,xml,yaml
--helpDisplay help for the given command. When no command is given display help for the <info>list</info> command
--no-ansiNegate the "--ansi" option
--no-interactionDo not ask any interactive question
--quietDo not output any message
--verboseIncrease the verbosity of messages: 1 for normal output (-v), 2 for more verbose output (-vv), and 3 for debug (-vvv)
--versionDisplay this application version
--yesAnswer all confirmations with "yes"
Back to all commands