Two web-servers with different IP in LAN

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.
There are two web servers in LAN:
192.168.1.10
- site1.mydom.com
- site2.mydom.com
- site3.mydom.com
 
192.168.1.20
- portal.mydom.com
 
in iptables, all requests for ports 80 and 443 are redirected to 192.168.1.10.
The certificates received from letsencrypt for site1,2,3 are stored and connected on 192.168.1.10 - and here everything works, there are no questions.
The certificates received from letsencrypt for the portal are stored and connected to 192.168.1.20 - and the question is:
How to write VirtualHost to 192.168.1.10 so that all requests (http, https) for portal.mydom.com go to 192.168.1.20?
Thank you in advance!
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux