Answer the question
In order to leave comments, you need to log in
How to distribute domains within a network with 1 IP?
Good afternoon!
I have 2 servers on my local network.
I also purchased a static IP address from an ISP.
When there was 1 server, I assigned this IP to the domain without problems and forwarded ports on the router.
But now I need to point 2 domains to these 2 servers, given 1 IP address.
How can I do that?
Answer the question
In order to leave comments, you need to log in
Raise Nginx on one of the servers and proxy requests to the second.
On most routers, you can set up nginx.
And then:
https://losst.ru/nastrojka-virtualnyh-hostov-nginx
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question