Does bar.me.com have to run on 192.168.0.2?  There is no reason you can't run 
multiple domains on the same IP


https://httpd.apache.org/docs/2.4/vhosts/examples.html

VirtualHost Examples - Apache HTTP Server Version 
2.4<https://httpd.apache.org/docs/2.4/vhosts/examples.html>
httpd.apache.org
Your server has multiple hostnames that resolve to a single address, and you 
want to respond differently for www.example.com and www.example.org. The above 
configuration is what you will want to use in almost all name-based virtual 
hosting situations. The only thing that this configuration will not ...

For https you can use SNI:


https://wiki.apache.org/httpd/NameBasedSSLVHostsWithSNI

NameBasedSSLVHostsWithSNI - Httpd 
Wiki<https://wiki.apache.org/httpd/NameBasedSSLVHostsWithSNI>
wiki.apache.org
SSL with Virtual Hosts Using SNI. Summary. Using name-based virtual hosts with 
SSL adds another layer of complication. Without the SNI extension, it's not 
generally possible (though a subset of virtual host might work).






Jerry Arnold
Principal Engineer/Architect II
o: 1-913-663-9522

[cid:46b7b5e5-adf6-4c01-b97a-4baf79b067c7]

________________________________
From: Louis <storm...@stormy.ca>
Sent: Friday, June 29, 2018 9:15:19 AM
To: Apache list
Subject: [users@httpd] two servers and sites on single IP

Hopefully simple, but I'm now getting confused.  Currently, single
server1 192.168.0.1 (Apache 2.4) running single site foo.me.com on
single static IP. Rock solid for the last six years.

Need to add server2 192.168.0.2 (Apache 2.4) for site bar.me.com on the
same static IP.

What is the fastest, most efficient way for server1 to rewrite |
redirect | proxy  "bar" to 192.168.0.2 and still serve "foo" from
192.168.0.1? (Border router does not accept alpha commands, only
numerical, so I cannot redirect here.)

Many thanks -- Louis

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org


------------------------------------------------------------------
This email is intended solely for the use of the
addressee and may contain information that is
confidential, proprietary, or both. If you receive
this email in error please immediately notify
the sender and delete the email.
------------------------------------------------------------------

Reply via email to