I
I
Ilya Loopashko2020-04-24 20:27:35
Apache HTTP Server
Ilya Loopashko, 2020-04-24 20:27:35

How to redirect from ip address (ip:port) to domain and subdomain?

I have a server on it I installed OpenMediaVault. On OMV, I installed various services and services: Nextcloud, Emby, etc. Each has one ip and a different port in order to be able to use it. I screwed the domain, how can I redirect from each ip to my subdomain? For example, ip 192.168.0.1:1234 to the subdomain webapp.domen.ru or domen.ru/webapp. And so for each ip.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Andrey Gavrilov, 2020-04-24
@deadloop

Nginx to the rescue

D
Dim Boy, 2020-04-24
@twix007

SRV record (if not in the registrar settings, use cloudns.net)

A
Alexander Karabanov, 2020-04-26
@karabanov

Specify the necessary redirects in the http server configuration.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question