Recommended setup of sub-domain to run server (icecast) started from CLI (or as service)?

SYSTEM INFORMATION
OS type and version Ubuntu 20.04.5
Webmin version 2.013
Virtualmin version 7.5
Related packages SUGGESTED

Hi,

I’ve spent a long time trying to understand this but have found no definitive answer.

I need to setup Icecast but this could apply to any server type application that is run as an Ubuntu service. How do I install properly into a Virtualmin subdomain ? Should the service be run as any special user ? Do I need to do anything else to insure the functioning of the server service runs only in the context of the sub-domain ?

Cheers and thanks for Virtualmin !

Icecast has it’s own web server and runs (usually) on port 8000, so you don’t need Virtualmin to set it up.

You configure the domain name (as well as other settings) in the icecast2.xml file. At the bottom of this file there is a security section where you are able to define if you want to chroot the software to a user and group.

Thanks so much ! So apart from using Virtualmin to setup the subdomain for an Icecast server it is not really linked at all to Virtualmin ? For some reason I got the idea that having a separate server like this would interfere with Virtualmin in some way but this seems not to be the case.

You don’t even need Virtualmin to do that. You can point the DNS A record for the domain to the IP address of your server, make sure port 8000 is open on the firewall and you’d be good to go (as long as all your config within Icecast is correct).

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