Hi
I want to know if it’s possible to manage the loading order of /etc/apache2/sites-available/FILES in virtualmin?
If not it was interesting because the virtual host config file order define the priority of config
Virtualmin has an option to define a domain as “default for the respective IP address”, symlinking it as the alphabetically first Apache domain to load. I suppose this should do what you’re trying to achieve?
Yup, Locutus is correct – you can set a default VirtualHost in Apache by logging into Virtualmin, choosing the default domain from the drop-down list, and selecting Server Configuration -> Website Options, and there you can set “Default website for IP address” to “Yes”.