The short answer: You cannot.
The long answer:
You can, but it's tricky and will involve some custom programming.
(1) You can set up virtual named domains on the .50 box. Have all requests
for mail.mydomain.com go to a script or program that you set up that
requeries the .51 machine and passes the information back. Sort of a proxy
server setup through apache.
(2) Have all requests go to some sort of proxy-like server that has the
ability to redirect based on the actualy domain name requested. There must
be something around that already does this, but if not it should not be too
hard to write it.
----------------
Warren Melnick
Director of Research and Development
Astata Corporation
-----Original Message-----
From: Philip Senechal [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 30, 2001 11:27 AM
To: RedHat ListServ
Subject: Apache question on RedHat
Here's my current setup:
Cable broadband connection to Linksys cable router. The router allows you
to forward ports to different IP addresses on your internal network. So I
have port 80 and 443 forwarding to my main web server. My mail server is on
a different IP address. My mail server has the ability to login and view
mail via a web interface.
Here's my problem...since the cable router forwards ALL port 80 traffic to
only one IP address, how can I make Apache on my web server forward the
request for a certain domain name to a different server?
www.mydomain.com forwards to 192.168.1.50
mail.mydomain.com also forwards to 192.168.1.50
I want mail.mydomain.com to forward to 192.168.1.51 after it hits Apache on
192.168.1.50.
Is this at all possible? Does anyone know how to accomplish either through
Apache or RH? One possible work around is to make my mail server answer web
requests on port 81 instead, but then everyone would have to add :81 to the
URL when accessing the mail server. Don't really want to do that. Any
suggestions are greatly appreciated. Thanks
Philip
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list