Answer the question
In order to leave comments, you need to log in
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
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.
https://wiki.mikrotik.com/wiki/Multiple_Web_Servers
https://blog.erofeevonline.ru/svaz/neskolko-server...
This looks like a solution to your problem
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question