restart-server

Restarts one of the servers managed by Virtualmin This command stops and re-starts one of the servers managed by Virtualmin, such as Apache or BIND. The server to restart must be set using the --server flag, followed by a feature name like web or dns. For server types that have multiple versions such as FPM, you can select the version to restart with the --version flag. Or use --domain to find automatically select the correct version for the given domain.

Restarts one of the servers managed by Virtualmin#

This command stops and re-starts one of the servers managed by Virtualmin, such as Apache or BIND. The server to restart must be set using the --server flag, followed by a feature name like web or dns.

For server types that have multiple versions such as FPM, you can select the version to restart with the --version flag. Or use --domain to find automatically select the correct version for the given domain.

Command line help#

virtualmin restart-server --server name
 [--domain name | --version number]
 [--quiet]

Source: https://www.virtualmin.com/docs/development/api-programs/restart-server/

  • virtualmin, apache, domain, dns, bind, command line, restart, server
  • 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...