disable-feature

Turn off some features for a virtual server This program is very similar to enable-feature, and takes the same command line parameters, but disables the specified features instead. Be careful when using it, as it will not prompt for confirmation before disabling features that may result in the loss of configuration files and other data. You can select the servers to update with the --domain and --user flags, each of which can be given multiple times. The --dns-subdomains flag will also include all DNS sub-domains that share the same zone file of those selected.

Turn off some features for a virtual server#

This program is very similar to enable-feature, and takes the same command line parameters, but disables the specified features instead. Be careful when using it, as it will not prompt for confirmation before disabling features that may result in the loss of configuration files and other data.

You can select the servers to update with the --domain and --user flags, each of which can be given multiple times. The --dns-subdomains flag will also include all DNS sub-domains that share the same zone file of those selected.

If the --disassociate flag is given, this command will simply remove the association between the domain and the underlying system configuration or database. For example, if disabling the MySQL/MariaDB with the --disassociate flag set, the underlying databases belonging to the domain would not be removed.

Command line help#

virtualmin disable-feature --domain name | --user name | --all-domains
 [--dns-subdomains]
 [--disassociate]
 [--unix]
 [--dir]
 [--dns]
 [--mail]
 [--web]
 [--ssl]
 [--logrotate]
 [--mysql]
 [--spam]
 [--status]
 [--webmin]
 [--virtualmin-awstats]

Source: https://www.virtualmin.com/docs/development/api-programs/disable-feature/

  • virtualmin, webmin, domain, subdomain, mail, spam, dns, zone, database, mysql, mariadb, ssl, user, log, update, command line, disable, feature
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Pre and Post Domain Modification Scripts

Virtualmin allows the use of custom scripts (Shell, Perl, Python and etc.) to automate tasks...

OS Support

Virtualmin runs on top of Webmin. Webmin works on almost every UNIX-like OS, so with some manual...

Professional Features

Virtualmin GPL is already an extremely powerful and flexible virtual hosting control panel, so...

How to Configure Secondary DNS

This guide provides administrators with a quick overview of setting up automatic DNS secondary...

How to Configure Cloudflare DNS

For users looking to integrate Cloudflare with Virtualmin Pro, the process is straightforward and...