How to correct CRM for two on one IP?

Have 2 servers with CRM Megaplan within the local area. One server "Megaplan" is the external domain, the role of the A-records written our external ip, actually you can access it outside of there.
Set the task to make the access to the second server from the outside (the domain name is also available). How to configure access to both servers for a domain name? The option of buying a second ip and privately to the second domain will work? On the gateway, additional settings in this case need?
June 10th 19 at 15:10
2 answers
June 10th 19 at 15:12
he is physically 2 server with your apache, CRM and domains, and IP is only one, which is already linked to the first server from the first domain.

The best option is to get a second IP and bind it to your second server and not to bother. The gateway may also have to dikonfigurasi, then it is necessary to know what is the gateway...
the cisk 800 series - nikita.Stracke commented on June 10th 19 at 15:15
In the cisk then:
ip nat inside source static tcp x.x.x.x 80 y.y.y.y 80 extendable

x.x.x.x - internal address
y.y.y.y - external address

If you still need some ports to natit on the second server, by analogy. - nicklaus.OKeefe commented on June 10th 19 at 15:18
you can configure iptables Ballina and cisk there is not need enough and Linux.
2 and the easiest thing to do nginx+apache and it's just as easy (regular) divorce your sites and even a balancer can act as if you are going to stir up a cluster - Lavern_Schuppe commented on June 10th 19 at 15:21
June 10th 19 at 15:14
any web service with ease razmeshalsya on one IP
nginx, apache, etc will raspredelit sites, not by IP or port and http header.
So 100 sites on a single IP is quite norms.

Find more questions by tags Network equipmentDomain name system