I just updated the latest packages on my Ubuntu server and neither Apache or Dovecot servers would load.
I purged Apache and reinstalled and it has started. I can access virtualmin on port 10000 but cannot access the domain itself.
I cannot access my virtual servers and when I try to access the admin panel (of my wordpress site) it loads but gives an error that the server (at port 80) cannot be found. Something is not right with apache. Any guidance please?
To be clear, unless you have backups, or the config files in /etc/apache2/sites-available somehow survived the slaughter, you’ll need to disable and re-enable the website feature in all of your domains, and then reconfigure them with whatever customizations you’d made.
Of course I am surprised! The guidance didn’t mention that.
Now I have your attention, I was not able to log in earlier as although I could access forums.virtualmin.com, the login page on virtual min.com would not open. It’s working fine now.
I have copied one of the config files from sites-available to sites-enabled but as soon as I do and reboot apache, it once again will not start which is the problem I had immediately after updating the packages.
OK, I think I have cracked it. Each time I tried to restart apache2 it refused because (I finally realised) the relevant module for the instruction in the config file was not enabled. I slowly worked through the config file after each attempted restart enabling the listed module until eventually it restarted without error. The website is back live.