Command to run after making changes to a domain

On virtualmin, the field "Command to run after making changes to a domain" means i can run any commands?

I managed to deploy high availability virtualmin servers, however i need to restart apache on Server B if virtual server is created using server A. Same goes vise versa.

Status: 
Closed (fixed)

Comments

Yup, you can enter any command you want there.

If you have more than one command you want it to run, what I'd suggest doing is making a script that contains all the commands you want run, and have Virtualmin execute that script.

In your case -- you would need to come up with a command that's capable of restarting Apache on your other server. Once you have the command that does that, you can have Virtualmin run that command.