Redirecting a Virtual Server to a different port on the same server.

1 post / 0 new
#1 Mon, 06/10/2019 - 21:09
arretx

Redirecting a Virtual Server to a different port on the same server.

On my server, I'm running Serviio DLNA media server which has two components. 1. The media server management, and 2. the media browser.

Each listens on a different port. So, if I want to access it, I have to enter: https://mydomain.com:port_number

I would like to have https://media.mydomain.com be the site that people use to browse the media browser site and https://serviio.mydomain.com to be the one that I use to manage the media.

If I have a web-based service on the same server as apache, yet on a different port, how to I "mask" the:

https://mydomain.com: by replacing it with https://subdomain.mydomain.com (with no port at the end?).