enable-domains

Posted 2014-03-18 01:37 by Joe

enable-domains.pl

enable-domains.pl

Enables Virtualmin domains on managed systems

This command enables a domain (specified with the --domain parameter) on which every Cloudmin-managed system hosts it. This can be normally worked out automatically, but if the same domain exists on more than one machine, you will need to add --host followed by the correct hostname.

When the command is run, it will display all of the output from the enable-domain.pl command on the remote system. More than one domain can be disabled by specifying the --domain parameter multiple times.

Example usage

  cloudmin enable-domains --domain wibble.com
  Enabling Virtualmin domain wibble.com on fudu.home ..
  Enabling virtual server wibble.com ..
  Adding to email domains list ..
  .. done
  Un-locking mail users' accounts ..
  .. done
  Renaming DNS zone to original name ..
  .. done
  Removing error page from website ..
  .. done
  Restoring MySQL user's password ..
  .. MySQL user can only be disabled in master domain
  Saving server details ..
  .. done
  Re-starting DNS server ..
  .. done
  Applying web server configuration ..
  .. done
  All done!.. enabled successfully
  Refreshing status of changed systems ..
  .. done

Command Line Help

Enables one or more Virtualmin domains on managed systems.

cloudmin enable-domains --domain name [--domain name]*
                       [--host source.hostname]