From owner-freebsd-questions Fri Mar 20 16:03:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA05976 for freebsd-questions-outgoing; Fri, 20 Mar 1998 16:03:21 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mixcom.mixcom.com (daemon@mixcom.mixcom.com [198.137.186.100]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id QAA05624 for ; Fri, 20 Mar 1998 16:02:00 -0800 (PST) (envelope-from milic@mixcom.com) Received: by mixcom.mixcom.com (8.6.12/2.2) id SAA07592; Fri, 20 Mar 1998 18:03:51 -0600 Received: from dial192-65.mixcom.com(207.250.192.65) by mixcom.mixcom.com via smap (V1.3) id sma007552; Fri Mar 20 18:03:24 1998 Message-ID: <34E8D462.1C1E@mixcom.com> Date: Mon, 16 Feb 1998 18:05:54 -0600 From: Milic Bogdanovic Reply-To: milic@mixcom.com Organization: M2B2 Micro Systems X-Mailer: Mozilla 3.04Gold (WinNT; I) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: How do I do this? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am new at this but I have a FreeBSD machine up and running 2.2.2R and I have two FQD Names: abc.com def.com Discription of network: Livingston(Lucent Technologies) PortMaster conected to Internet using dial up ISDN. I have the following set up in the host table: abc.com 199.xxx.xxx.2 rauter.abc.com 199.xxx.xxx.1 jack.abc.com 199.xxx.xxx.3 jill.abc.com 199.xxx.xxx.4 www.def.com 199.xxx.xxx.5 The FreeBSD machine is the mail and Apache 1.2.0 httpd server, abc.com and has the IP: 199.xxx.xxx.2 the web page of the abc.com is up and running now I would like to also set up a web page for www.def.com 199.xxx.xxx.5. Here are the contents of my /etc/sysconfig file(onley the part that I think I need to change): # # Set to the list of network devices on this host. You must have an # ifconfig_${network_interface} line for each interface listed here. # Extra addresses may be specified with sequentual _alias lines. IPX # addresses may be specified with an ifconfig_${network_interface}_ipx # line. # # for example: # # network_interfaces="ed0 sl0 lo0" # # ifconfig_ed0="inet 10.0.0.1 netmask 0xffffff00" # ifconfig_sl0="inet 10.0.1.0 netmask 0xffffff00" # ifconfig_lo0="inet 127.0.0.1" # ifconfig_ed0_alias0="inet 10.0.2.1 netmask 0xffffff00" # ifconfig_ed0_alias1="inet 10.0.2.2 netmask 0xffffffff" # ifconfig_ed0_ipx="ipx 0x1234" # # Alternatively, /etc/start_if.${network_interface} is run if it exists. # This script can be used as an alternative to the ifconfig_ lines. # network_interfaces="lo0" ifconfig_lo0="inet 127.0.0.1" My nic device is de0 so where a what files do I make changes to to get my virtuly host www.def.com? I know how to make the required changes for the apache. Please help me I did check your hole site about this question and I got totaly confused! This would be a good example to have for all that want host web pages for two different IP's on the same host. Thank you very much. Milic To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message