list-domains

Lists domains on some or all managed servers

This command outputs a list of Virtualmin domains on some or all managed systems. By default the output is in table format similar to Virtualmin's own list-domains.pl command, but you can switch to a more complete and parsable format with the --multiline flag.

To limit the list to only specific domains, use the --domain flag followed by a domain name (which can be given mulitple times). To show only domains that are enabled, use the --enabled flag (or --disabled to do the reverse).

Example usage

  cloudmin list-domains --host xencentos.home
  Domain                    System                    Description
  ------------------------- ------------------------- -------------------------
  xencentos.home            xencentos.home            Test domain on CentOS
  xencentos.com.au          xencentos.home            Alias in real domain
  atname.xencentos.home     xencentos.home            Test for @ names
  imapproblem.com           xencentos.home            imapproblem.com
  dnstest.com               xencentos.home            dnstest.com
  php4move.com              xencentos.home            PHP 4 wrapper move test
  django.xencentos.home     xencentos.home            Test for django
  domainmove.com            xencentos.home            Test for moving scripts

Command Line Help

Lists domains on some or all managed systems.

cloudmin list-domains [--multiline]
                      [--all-hosts] | [--host name]*
                      [--group name]*
                      [--type real|kvm|gce|this]*
                      [--os oscode]*
                      [--owner name]*
                      [--status status-code|"up"|"wm"|"bad"]
                      [--host-on name]
                      [--domain name]*
                      [--disabled | --enabled]