Posted 2013-05-08 00:08 by Joe
delete-domains.pl
Removes Virtualmin domains from managed systems
This command deletes a domain (specified with the --domain parameter) from 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.
Be careful using it,
as it will not prompt for any confirmation before deletion.
When the command is run,
it will display all of the output from the delete-domain.pl command on the remote system.
More than one domain can be deleted by specifying the --domain parameter multiple times.
Example usage
cloudmin delete-domains --domain wibble.com Deleting Virtualmin domain wibble.com from xencentos.home .. Deleting virtual server wibble.com .. Deleting mail aliases .. .. done Deleting Webmin login .. .. done Deleting virtual website .. .. done Deleting administration user .. .. done Deleting administration group .. .. done Deleting home directory .. .. done Deleting server details for wibble.com .. .. done Re-loading Webmin .. .. done Applying web server configuration .. .. done All done!.. deleted successfully Refreshing status of changed systems .. .. done
Command Line Help
Deletes one or more Virtualmin domains from managed systems.
cloudmin delete-domains --domain name [--domain name]*
[--host source.hostname]
