modify-all-ips

Update all virtual servers with a new IP address This command updates all virtual servers using the IP address specified with the --old-ip flag, and switches them to using the IP set by --new-ip. It can be useful if your system’s IP address has just changed, for example if it is dynamically assigned or was moved to a new network. For convenience, the flag --default-old-ip can be used instead of --old-ip to select the default address used before the last update. Similarly, the flag --detect-new-ip can be used instead of --new-ip to automatically discover the system’s current default address.

Update all virtual servers with a new IP address#

This command updates all virtual servers using the IP address specified with the --old-ip flag, and switches them to using the IP set by --new-ip. It can be useful if your system’s IP address has just changed, for example if it is dynamically assigned or was moved to a new network.

For convenience, the flag --default-old-ip can be used instead of --old-ip to select the default address used before the last update. Similarly, the flag --detect-new-ip can be used instead of --new-ip to automatically discover the system’s current default address.

Command line help#

virtualmin modify-all-ips [--old-ip address | --default-old-ip]
 [--new-ip address | --detect-new-ip]

Source: https://www.virtualmin.com/docs/development/api-programs/modify-all-ips/

  • virtualmin, update, command line, modify
  • 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...