I have two Apache Servers with mod_proxy enabled. What I want to know is how can I "pass the request" from Apache Server A" to "Apache Server B" using the same 80 port.
In my "server A" with internal ip: 192.168.0.5 I have configured the DNS and actually is my mail server too.
In my "server B" with internal ip: 192.168.0.10 I have my owncloud server.
Today when I access to wwww.mydomain.com or www.mydomain.com/webmail everything works because the content is in the same "server A", then what I need is when somebody try to access to owncloud.mydomain.com they can access to my server B without redirect them to another port like owncloud.mydomain.com:81, I just want to use the same 80 port.
Actually I get a redirect loop because when I try to redirect I guess the "SERVER A" is getting the same request by himself. I have set my virtualhost working in the same "SERVER A" what I want is "redirect" to another using the same port and the the URL still owncloud.mydomain.com.
I dont want to redirect using another port.