From owner-freebsd-questions Tue Aug 13 05:29:51 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA11055 for questions-outgoing; Tue, 13 Aug 1996 05:29:51 -0700 (PDT) Received: from ime.net (ime.net [204.97.248.4]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id FAA11048 for ; Tue, 13 Aug 1996 05:29:49 -0700 (PDT) Received: from kimiko.tcguy.net (buxton-15.ime.net [206.231.148.144]) by ime.net (8.7.4/8.6.12) with SMTP id IAA26940; Tue, 13 Aug 1996 08:29:45 -0400 (EDT) Message-ID: <32107549.3150@ime.net> Date: Tue, 13 Aug 1996 08:30:01 -0400 From: Gary Chrysler Reply-To: tcg@ime.net Organization: The Computer Guy X-Mailer: Mozilla 3.0b6 (Win95; I) MIME-Version: 1.0 To: Russ Panula CC: questions@FreeBSD.org, Eric Chan Subject: Re: WWW on FreeBSD v2.0 References: <199608130214.MAA00420@moredun.nswcc.org.au> <320FF406.1562@ime.net> <32103aa7.17120930@mail.digitaladvantage.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Russ Panula wrote: > > >Eric Chan wrote: > >> > >> Hi, I am stuck on setting up 2 CERN Httpd v3.0 Web servers on a > >> single machine running FreeBSD v2.0. I was told to set up an IP alias on > >> the server, so that one of Httpd servers will point to a IP alias. (But I > >> don't know how to get it done, Httpd only listens to the port 80 on the > >> machine, but not relate to IP address. Could the 2 Httpd Servers listening > >> on the same port 80?) > >> > >> What my company wants is to have 2 separate WWW servers running on a > >> single machine with different URL name, such as www.nbcc.org.au (this one > >> exists already) and www.nswcc.org.au(need to be implemented). > >> > >> Have you ever encountered this kind of set up? If you do, could you > >> please give me any clues/info on it? > >> > >> Many thanks > >> > >> Eric > > > >I've done this by adding a second entry in the DNS pointing > >to the same IP.. > >ie: > > domain1 IN A a.b.c.d > > domain2 IN A a.b.c.d > > > >a.b.c.d are both the same IP.. > > > >Don't know if this is right, Works for me. > > > >-Enjoy > >Gary > >~~~~~~~~~~~~~~~~ > >Improve America's Knowledge... Share yours > >The Borg... Where minds meet > >(207) 929-3848 > > > > You need to add alias IP addresses to your web server also. You can > do this by doing: > I have no aliases, Yet my system is accessable via either domain name! -Enjoy Gary ~~~~~~~~~~~~~~~~ Improve America's Knowledge... Share yours The Borg... Where minds meet (207) 929-3848