E
E
EFly2018-05-14 02:57:54
Mikrotik
EFly, 2018-05-14 02:57:54

Mikrotik how to implement external redirection to different IPs by domain name?

Hello.
There are two domain names aaa.ru and bbb.ru, they are located on different machines behind Mikrotik. While there was one server, it was simply implemented to redirect ports 80 and 443 to the internal IP. Now it is necessary to separate these services.
Is it possible, in any way, to configure so that external traffic is divided between these servers, depending on which domain the request goes to.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
vreitech, 2018-05-14
@fzfx

I won’t say anything about Mikrotik, although I have a suspicion that he doesn’t know how.
I personally use proxying through nginx for this: depending on which domain name the request came from, it can redirect it to other servers.

H
hank13, 2018-08-10
@hank13

https://wiki.mikrotik.com/wiki/Multiple_Web_Servers
https://blog.erofeevonline.ru/svaz/neskolko-server...
This looks like a solution to your problem

W
Wexter, 2018-05-14
@Wexter

Set up one server with nginx, forward ports to it and proxy from it where necessary

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question