M
M
mcrack2021-01-10 13:44:35
Domain Name System
mcrack, 2021-01-10 13:44:35

How to connect a domain to a server via mikrotik?

Hello, please tell me how can I connect a domain to the server through Mikrotik?

There are 2 domains: s1.site.ru and s2.site.ru, there are two servers with sites: 192.168.1.10 and 192.168.1.20, I need that when I go to the first domain, I get to the first server on port 80 and when I go on the second domain to get to the second server. Please tell me in more detail how to do it right.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Shitskov, 2021-01-10
@mcrack

Mikrotik cannot perform the functions of a reverse proxy, so it is impossible to do this only with its functionality.
It is necessary to install a server behind Mikrotik that acts as a reverse proxy (nginx / haproxy / something else).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question