[Lilug] port forward by domain?
Justin Dearing
zippy1981 at gmail.com
Fri Feb 6 12:52:05 PST 2009
Ken,
Impossible for the other protocols.
Multiple domains on a single IP going to different locations works because
apache looks at the domain in the http header (levels 5-7 of the OSI model)
This is why each ssl site needs its own IP address with apache (or IIS or
whatever). Since each website has its own ssl cert, the http header wont get
decrypted until after it knows what domains to go to and what cert to use.
In the case of apache having one domain on a separate box, have the main
server redirect to that, or just buy a second IP address.
Regards,
Justin Dearing
On Fri, Feb 6, 2009 at 3:42 PM, Kenneth Downs <ken at secdat.com> wrote:
> Let's say I've got a single public ip, multiple domains.
>
> All of the domains but one can sit on one box. Apache can do virtual
> hosts, fine.
>
> But one of the domains has to be on a separate box.
>
> I know Apache can do this for port 80, but I'm not sure what module does
> it.
>
> But I'd also like to do this for 22 and 25. Is there a general tool for
> linux that does this?
>
> --
> Kenneth Downs
> Secure Data Software, Inc.
> www.secdat.com www.andromeda-project.org
> 631-689-7200 Fax: 631-689-0527
> cell: 631-379-0010
>
> _______________________________________________
> Lilug mailing list
> Lilug at lilug.org
> http://lists.lilug.org/listinfo.cgi/lilug-lilug.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lilug.org/pipermail/lilug-lilug.org/attachments/20090206/c70bb911/attachment-0003.htm>
More information about the Lilug
mailing list