Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'd Like to set up two different websites on one IP address using two different servers. Right now we are using Apache for our one Mac Server and it forwards correctly both to the pyhsical IP address as well as the domain. We'd like to add another domain to a new computer also running Leopard + Apache

share|improve this question

2 Answers 2

You'll need to setup a reverse proxy on a box in front of both web servers then. You can use Apache with mod_proxy, nginx, squid, etc. to do this.

http://en.wikipedia.org/wiki/Reverse_proxy

share|improve this answer

You can use either SQUID or Apache to redirect or rewrite based on URI or hostname conditions.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.