LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Is it possible to do this with MNF? (https://www.linuxquestions.org/questions/linux-security-4/is-it-possible-to-do-this-with-mnf-140921/)

nevermind 02-01-2004 01:37 AM

Is it possible to do this with MNF?
 
hehe ..here is the deal I'm a very happy user of Mandrake MNF for over 1 year but now I have this situation.
I have a DMZ on the MNF box -->> 10.100.0.0 and 2 servers
10.100.0.10 MAIL with WEBMAIL
10.100.0.20 mandrake 9.2 with Apache running my domain and some virtual host of my friends also DNS with no zones just handling my requests from the LAN my workstation, wife's computer etc.
everything is fine! LoL :) this is what i want to do
on the 10.100.0.10 mail server i used to use another port like domain.com:2000 for webmail access but I got a new server that supports WAP, the problem is that my cell provider allows WAP only on port 80.
So here is my question ...finally ..:)
Is it possible to have MNF forward traffic to 2 different IPs same domain??

Example
a.domain.com -->> 10.100.0.20 (apache)
b.domain.com -->> 10.100.0.20 (apache)
c.domain.com -->> 10.100.0.20 (apache)
WAP.domain.com -->> 10.100.0.10 (WEB mail server)
mail.domain.com -->> 10.100.0.10 (web mail server)

both server same subnet, on the DMZ eth2 of the MNF box
======================================
The mail server has some sort of custom made web server :)

Cheers and thanks a lot for your time, also ..any questions,... fell free
and if you are in the San Francisco Bay Area I'll buy you a beer :)

ugge 02-07-2004 06:41 AM

As I see it this lies in the DNS configuration.
Setup a,b and c as aliases for your domain, this would route visitors to 10.100.0.20
When the request arrives at your Apache server it can take a look at the HTTP_REFERRER header for the domain enter by the visitor in the web browser (a.domain.com, b.domain.com or c.domain.com)


All times are GMT -5. The time now is 12:11 AM.