Hoping someone can help me with these questions?
I wanted to manage directly from the command line but later decided to have Virtualmin installed after reading about it and watching several videos.
I have successfully installed Webmin/Virtualmin with the LAMP stack on Ubuntu 22.04.05.
Before I did this, I had installed NGINX via command line and assumed that the virtualmin installation would allow me to manage it just as it allows me to manage Apache. I am finding out the hard way, that is not the case. Thus I now have both Apache and Nginx running. Apache I can see in the Virtualmin interface and Nginx I can only access on the terminal.
Is there a way force Webmin/Virtualmin to manage both?
Is there a way to install Nginx via the Admin portal instead of command line?
Is there a way to use Nginx as a reverse proxy to Apache?
If I wanted to stop using Apache all together and manually switch to Nginx by following the instructions in this documentation post will I still have access to the Webmin/Virtualmin portal after stopping Apache as directed in the instructions? That part is not clear in the instructions.
What are the steps to roll back or uninstall the current Webmin/Virtualmin installation and reinstall the LEMP version?
First. A clean system is recommended for Virtualmin install. If this is a new install is there any reason to to wipe the OS and start again following the documents for installing Nginx at VM install time?
–lemp switch or something. Just click on the documentation link at the top.
No, and you shouldn’t want both. Pick your favorite web server and use it. Don’t make it complicated. There is no benefit to multiple web servers on the same system, it just wastes resources.
Yes, but don’t. If you have installed Virtualmin to use Apache, installing nginx will not do anything good.
If you want a Virtualmin system with nginx, you should start with a freshly installed supported OS, and install Virtualmin using the --bundle LEMP flag. Read the docs for details, if you want.
Virtualmin and Webmin do not run under Apache (or nginx). It has its own dedicated web server.
Start with a freshly installed supported OS and install Virtualmin using the --bundle LEMP option. If you have users/sites/databases/configuration you want to keep, you can make backups and restore them on the new system. This may or may not work easily…Virtualmin papers over some differences and you can restore from one to the other, but there are quite a few configuration differences and limitations in nginx, making it impossible to migrate everything 1 to 1. If you’re using Apache features (.htaccess files, for instance), I’d recommend not switching.