Hi,
I installed virtualmin to my vps server. And i made basic configurations for it during my first login to virtualmin. Best part is that it checked my server completely and displayed the results. I really really liked it. I will just host two websites on my vhost. For that reason, before installing virtualmin i was doubting to install. But after seeing its "re-check configuration" function, i decided it is worth to install it.
But i am totally new and i need detailed guide how to use it correctly. At least i need to find answers to my questions below:
1- how should i create a virtual server in virtualmin?
2- What will happen to my other two enabled vhost config files that i have created via terminal. I can not say that they are completed but they are pointing to my domain and i have made some configurations in them (like directing non-www domain to www domain etc. ) They are: (mydomain.com.conf and mydomain.com-le-ssl.conf) under /etc/apache2/sites-enabled. Should i leave them as they are and create a new virtual server in virtualmin?
3-Beside this before creating my virtual server in virtualmin, i want to change my php version to php 8.1-fpm (i already have 8.1 but not fpm).
4- And my apache is not supporting HTTP/2. I also want to figure out this issue before creating my first virtual server with virtualmin. How should i do that?
Thank you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1- how should i create a virtual server in virtualmin?
By clicking the Create Virtual Server button.
2- What will happen to my other two enabled vhost config files that i have created via terminal. I can not say that they are completed but they are pointing to my domain and i have made some configurations in them (like directing non-www domain to www domain etc. ) They are: (mydomain.com.conf and mydomain.com-le-ssl.conf) under /etc/apache2/sites-enabled. Should i leave them as they are and create a new virtual server in virtualmin?
You can import existing virtual servers using Add Servers ⇾ Import Virtual Server page:
image.png
3-Beside this before creating my virtual server in virtualmin, i want to change my php version to php 8.1-fpm (i already have 8.1 but not fpm).
This can be configured at virtual-server.name - Server Configuration ⇾ PHP Options page.
4- And my apache is not supporting HTTP/2. I also want to figure out this issue before creating my first virtual server with virtualmin. How should i do that?
This can be enabled on virtual-server.name - Server Configuration ⇾ Website Options page.
However, this is on by default, but if option is missing you would have to make sure that http2 Apache module is enabled on Webmin / Servers ⇾ Apache Webserver: Configure Apache Modules page.
Also, please consider that installing Virtualmin is not just downloading the Virtualmin module for Webmin. There are a lot of post-configuration steps that must be performed in order to have a fully working system. Moreover, this is highly advised to install Virtualmin using install.sh script on a clean state system. Perhaps, you could be fine when installing on an already running system but this cannot be guaranteed.
Hi,
I installed virtualmin to my vps server. And i made basic configurations for it during my first login to virtualmin. Best part is that it checked my server completely and displayed the results. I really really liked it. I will just host two websites on my vhost. For that reason, before installing virtualmin i was doubting to install. But after seeing its "re-check configuration" function, i decided it is worth to install it.
But i am totally new and i need detailed guide how to use it correctly. At least i need to find answers to my questions below:
1- how should i create a virtual server in virtualmin?
2- What will happen to my other two enabled vhost config files that i have created via terminal. I can not say that they are completed but they are pointing to my domain and i have made some configurations in them (like directing non-www domain to www domain etc. ) They are: (mydomain.com.conf and mydomain.com-le-ssl.conf) under /etc/apache2/sites-enabled. Should i leave them as they are and create a new virtual server in virtualmin?
3-Beside this before creating my virtual server in virtualmin, i want to change my php version to php 8.1-fpm (i already have 8.1 but not fpm).
4- And my apache is not supporting HTTP/2. I also want to figure out this issue before creating my first virtual server with virtualmin. How should i do that?
Thank you.
Hey, Elvan,
By clicking the Create Virtual Server button.
You can import existing virtual servers using Add Servers ⇾ Import Virtual Server page:
image.png
This can be configured at virtual-server.name - Server Configuration ⇾ PHP Options page.
This can be enabled on virtual-server.name - Server Configuration ⇾ Website Options page.
However, this is on by default, but if option is missing you would have to make sure that http2 Apache module is enabled on Webmin / Servers ⇾ Apache Webserver: Configure Apache Modules page.
Also, please consider that installing Virtualmin is not just downloading the Virtualmin module for Webmin. There are a lot of post-configuration steps that must be performed in order to have a fully working system. Moreover, this is highly advised to install Virtualmin using install.sh script on a clean state system. Perhaps, you could be fine when installing on an already running system but this cannot be guaranteed.
Virtualmin must be installed with an official installation script.