From owner-freebsd-questions Fri Apr 18 12:16:45 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA26814 for questions-outgoing; Fri, 18 Apr 1997 12:16:45 -0700 (PDT) Received: from compsol.net (ntserver1.compsol.net [206.97.112.2]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id MAA26803 for ; Fri, 18 Apr 1997 12:16:42 -0700 (PDT) Received: from [208.144.208.23] by compsol.net (SMTPD32-3.03) id A9891E960578; Fri, 18 Apr 1997 15:20:41 -0400 Message-ID: <3357C9EE.7025@compsol.net> Date: Fri, 18 Apr 1997 15:22:22 -0400 From: Adam Majowicz at Connecticut Online X-Mailer: Mozilla 3.01Gold (Win95; I) MIME-Version: 1.0 To: questions@freebsd.org Subject: help on multiple web hosting Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi I am using free bsd and the apache server that goes with that I have learned many things on this unix environment that is new to me I just need to know how to make an ip address go to the proper dirrectory to find a file www.domain1.com is located in /home/domain1/public_html directory www.domain2.com is located in /home/domain2/public_html directory I would like domain1.com to have IP 200.200.200.20 I would like doamin2.com to have IP 200.200.200.21 I allready did ifconfig ed0 200.200.200.20 netmask 255.255.255.255 alias up (and the same for 21) for both ip's but when I try accessing the page it does not go to either dirrectory it goes to the one that was setup (I try access http://200.200.200.20/) I know that I have to tell them which ip is for which domain but don't where and how. And which domain goes to which directory so if someone could just tell me where and how I would really appreciate this thank you very much or give me a place to log into so I could browse the settings that someone else has I would also appreciate that. I tried looking every where but can not find the info I would be willing to help other people out when I learn this even creating a page with the info on it. Thanks Adam Majowicz