Install script to port?

SYSTEM INFORMATION
OS type and version AlmaLinux 9.2
Webmin version 2.021
Virtualmin version 7.7 Pro

Just like you can access Virtualmin at port 10000 and the regular page at 80, I was wondering, how do I install a script but change it to be accessible via a specific port? For example, phpMyAdmin. I’m aware I’d have to put it in its own folder and point to it, but would I have to edit the template for the root domain or could I make a server template to handle that?

In webmin :arrow_right: Servers :arrow_right: Apache Webserver (assuming Apache)
create a new virtual host like so


fill in the fields and at the bottom (in the ‘copy directives from’ pulldown use the parent domain).
but be aware you can choose either the https or http version from here the choice is yours.
after you have saved and applied the changes make sure you open the port in firewalld that you used, apply the firewalld config & restart the firewall … at this point if you are using fail2ban restart that as well … but only after you have added the new port to firewalld and restarted it

Thank you, got it working. :+1:

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.