If you’re using Virtualmin, you’d never have reason to go there to create a new domain.
I don’t understand this question. Apache listens on the ports it is explicitly told to listen on. That’s 80 and 443, by default, and each VirtualHost decides which ports it’ll use, as well.
I don’t know anything about Minecraft servers, but that seems very unlikely. I would assume it is a server you need to run, and then proxy to it using Apache. In which case, it’s like almost any other modern web application. But, if it’s a standalone server that clients contact directly, then Apache has nothing to do with it.
I have written an api to install and maintain game servers it’s not difficult to do (run a game server) you don’t need apache or anything else as it runs in it’s own environment.
for an off the peg solution look at minecraft server. my api used to support minecraft but no one used it so I discontinued support for it.
The only difference to the install instructions I would do is to not bother making a new user for it install minecraft as an existing user, and use firewalld to open what ports you need, the it should run fine
Also, I’m hoping to learn how to do it myself in regards to installing it and having it run only for a specific domain name (and port number, of course). If you know of any guides that give examples of how to do that, it would be greatly appreciated.
give me some time to add support for minecraft in again (it’s been a couple of years since I removed it and things may have changed) and test it then I will give you a link to get it. but if you want to install today the link I posted will work fine. Don’t forget game servers use IP’s to listen on & don’t care about users so getting it to
would perhaps mean getting an extra IP address for a domain, but tbf I don’t see the point in that you can alter the name of the server to whatever you want through the MC config files & command line