Date: Mon, 22 Mar 2004 11:54:15 -0700 From: Janet Sullivan <ciscogeek@bgp4.net> To: "Eli K. Breen" <eli@gopostal.ca>, freebsd-stable@freebsd.org Subject: Re: natd & virtual hosting Message-ID: <405F3657.7080005@bgp4.net> In-Reply-To: <405F2344.4050309@gopostal.ca> References: <405F2344.4050309@gopostal.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
> I'm trying to host a few services under a few different domain names and > need to be running multiple webservers to do it (apache 1.3x and 2.x). > > If I have a single IP, will nat with FreeBSD 4.9 allow me to separate > requests by domain name even if they share an IP? NAT works with IP addresses. Why can't you just use Virtual Hosts in Apache? Do you really need to run both versions? If so, what you need to do is something like this: Apache 1.3x runs on port 80 Apache 2.x runs on port 8080 redirect 192.168.5.1:80 to 123.123.123.123:80 redirect 192.168.5.2:80 to 123.123.123.123:8080
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?405F3657.7080005>
