OSDir


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

Re: [users@httpd] two servers and sites on single IP


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

For https you can use SNI:


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





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



From: Louis <stormy22@xxxxxxxxx>
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-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


------------------------------------------------------------------
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.
------------------------------------------------------------------