View previous topic :: View next topic |
Author |
Message |
nadin Tux's lil' helper
Joined: 05 Aug 2003 Posts: 103
|
Posted: Tue Sep 21, 2004 1:39 am Post subject: Apache Virtual Host - Seperate Servers |
|
|
Hello,
I currently have 2 servers say, dev.domain.com and mail.domain.com
now port 80 goes to dev.domiain.com. and I only have one external IP address which resolves to the dev server.
Now here is my problem which I have not be able to figure out.
on mail.domain.com, I have a website , http://mail.domain.com/mail
what settings would i put in the vhosts file on dev.domain.com such that when I go to
http://domain.com -> http://dev.domain.com
http://domain.com/mail -> http://mail.domain.com/mail
Now since port 80 main.domain.com, also how do I get apache too pass the data from mail.domain.com site www.domain.com/mail?
Thanks,
Nadin |
|
Back to top |
|
|
Jaxom Tux's lil' helper
Joined: 31 Jan 2003 Posts: 137
|
Posted: Tue Sep 21, 2004 5:04 am Post subject: |
|
|
It would be easier to just set the mail to listen on a different port, like say 85 or something and have your NAT pass port 85 to the other server. Otherwise you would need to do a bunch of different voodoo to make it work. _________________ Undisputed Heavyweight Champion. If it's undisputed, WHAT'S ALL THE FIGHTING ABOUT?!?! -- George Carlin |
|
Back to top |
|
|
groovin Guru
Joined: 07 Feb 2004 Posts: 429 Location: California, USA
|
Posted: Tue Sep 21, 2004 6:11 am Post subject: |
|
|
jaxom's right. just have it listen on a non 80 port and adjust your DNS accordingly. |
|
Back to top |
|
|
chipig n00b
Joined: 19 Sep 2004 Posts: 8 Location: Helena, Montana
|
|
Back to top |
|
|
|