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?
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