Answer the question
In order to leave comments, you need to log in
How to deploy 2 web servers with domain binding on 1 external ip?
I have 2 web servers in my local network
WIndows web server
Debian nginx
Router
Mikrotik The
question is how to connect domains to 2 hosts without redirecting traffic to another on one of the hosts. Especially without a separate server to distribute traffic between them. Is it possible to somehow make this setting on mikrotik?
Answer the question
In order to leave comments, you need to log in
The "distribution" of traffic based on the HTTP host is the application level, the network hardware of the 2nd and 3rd levels does not do this.
Do not fool around and do it humanly - all HTTP / S-traffic to the server with nginx, and from there wherever it pleases in accordance with the domain.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question