Ok this is funny actually.
I am still trying to learn virtualmin and its possibilities…
in “Apache Webserver” section i was checking Global configuration and Existing virtual hosts … I wanted to change a setting in global and sync all virtual hosts with it. I tho “if i delete Existing virtual hosts, they will re-create automatically (or there is a way to re-create them)” but… no… i couldnt find to re-create virtual hosts…
how can i revert it back ?
and next time, how can i sync all domain’s host settings in same time?
Sorry, once you delete them, they’re gone… you’d need to restore them from a backup
I’m not familiar with a way to use Virtualmin to apply a configuration change to all Virtual Servers. To do that, you’d likely need to write a script to update each one.
Just go into all of the hosts in the drop down, go to Edit Virtual Server, uncheck and recheck Apache to recreate the vhosts. You have to do this one vserv at a time, though. But you will get them back.