Apache to serve services installed

Hello

I have NZBGet, Sonarr, Radarr etc. installed and I can reach them from http://localhost:<port>.
As OSMC has apache2 installed, I was wondering if anyone knew a simple way to serve the files without the port number and have a http://localhost/nzbget, http://localhost/sonarr etc.?

I can do this with a reverse proxy on Nginx (on servers) but cannot find a simple Apache tutorial on how to do this. Can someone point me in the right direction please?

I basically just want;

point http://osmc.home:6789 to http://osmc.home/nzbget and so on…

haven’t tested this but i think it should work:

<VirtualHost nzbget.osmc.home:80>
  ServerName nzbget.osmc.home
  ProxyPass / http://localhost:6789/
</VirtualHost>

<VirtualHost sonarr.osmc.home:80>
  ServerName sonarr.osmc.home
  ProxyPass / http://localhost:port_number_for_sonarr/
</VirtualHost>

and make the dns entrys needed.

Here’s the page i got it from: Apache redirect to another port - Stack Overflow