Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 55411 invoked from network); 4 Mar 2011 14:23:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Mar 2011 14:23:54 -0000 Received: (qmail 62470 invoked by uid 500); 4 Mar 2011 14:23:51 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 62454 invoked by uid 500); 4 Mar 2011 14:23:50 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 62444 invoked by uid 99); 4 Mar 2011 14:23:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Mar 2011 14:23:50 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@jaqui-greenlees.net designates 75.127.70.40 as permitted sender) Received: from [75.127.70.40] (HELO source3.sourcedns1.com) (75.127.70.40) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Mar 2011 14:23:43 +0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=jaqui-greenlees.net; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=e8Yfbgxw3CIvVNIFUlBovdkECdaShAm0mwd8ab3q5F7oDrbI442DIWNTtOAq5wHyJeR0jQMrmxTt1RJdWmglQby44Vf6UB9krAyv6da0Dg7Hx04V/cdAm0CLYmErBIDx; Received: from s01060023698a46e6.vc.shawcable.net ([70.79.3.163]:36439 helo=localhost.localdomain) by source3.sourcedns1.com with esmtpa (Exim 4.69) (envelope-from ) id 1PvVuL-0006C1-09 for users@httpd.apache.org; Fri, 04 Mar 2011 09:23:06 -0500 Message-ID: <4D70F5D2.4090208@jaqui-greenlees.net> Date: Fri, 04 Mar 2011 06:23:14 -0800 From: "J. Greenlees" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.24) Gecko/20100301 SeaMonkey/1.1.19 MIME-Version: 1.0 To: users@httpd.apache.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - source3.sourcedns1.com X-AntiAbuse: Original Domain - httpd.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jaqui-greenlees.net X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Problem in configuring two httpd services on one machine with two IPs Nishit Shivnani wrote: > Hello Team, > > I need some help from the Apache experts. > I have a machine with Red Hat Linux OS and Apache HTTP Server 2.2.3. This > machine has another IP installed on it. > Now I need to have httpd service listening on port 80 and 443 for both the > IPs of the server. For which I need to have two instances httpd running. > > I read the Apache Virtual Host documentation, and I feel I need to go with > IP based Virtual Host and setup Multiple Daemons ( > http://httpd.apache.org/docs/2.0/vhosts/ip-based.html#multiple) > For Multiple Daemon Setup, the page states : "Create a separate > httpd > installation > for each virtual host.". When I try to run the Apache installer again, it > says the software is already installed. > Can anyone help me with the process of separate httpd installation for > different IP on same server? > > Just for trying out a way that struck my mind, I did following: > I tried to copy the folder created after first install i.e. /etc/httpd as > /etc/httpd1 and edit the httpd.conf in httpd1. I edited following attributes > ServerName to point to second IP, ServerRoot folder and PidFile. > I also renamed the /etc/httpd1/httpd.conf to /etc/httpd1/*httpd1*.conf to > point to httpd1. > When I try to start the httpd1 service, by following statement : service > httpd1 start. I get following output : "httpd1: unrecognized service" > > Thanks in anticipation of a solution. > > Thanks, > Nish. > You only need 1 installation, and only have to start httpd once the vhost config, set for the different ip addresses.. httpd will handle multiple ip addresses from one instance with no problems. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org