Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 57580 invoked from network); 11 Jun 2004 18:26:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 11 Jun 2004 18:26:25 -0000 Received: (qmail 61389 invoked by uid 500); 11 Jun 2004 18:26:23 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 61366 invoked by uid 500); 11 Jun 2004 18:26:23 -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: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 61351 invoked by uid 99); 11 Jun 2004 18:26:23 -0000 Received: from [64.224.219.79] (HELO mail5.atl.registeredsite.com) (64.224.219.79) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 11 Jun 2004 11:26:23 -0700 Received: from castaweb.com ([66.223.126.220]) by mail5.atl.registeredsite.com (8.12.11/8.12.8) with ESMTP id i5BIQ32K017775 for ; Fri, 11 Jun 2004 18:26:03 GMT Received: from Mandy (c-24-3-110-47.client.comcast.net [24.3.110.47]) by castaweb.com (8.11.6/8.11.0) with ESMTP id i5BIQ3K31653 for ; Fri, 11 Jun 2004 14:26:03 -0400 (EDT) (envelope-from todd@castaweb.com) From: "Todd" To: Date: Fri, 11 Jun 2004 14:25:54 -0400 Organization: Castaweb Message-ID: <001901c44fe1$8c17c360$6466a8c0@Mandy> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Importance: Normal In-Reply-To: <1086976649.40c9f2891919c@webmail2.eggserver.tallships.ca> X-Virus-Checked: Checked Subject: RE: [users@httpd] can I resolve vhost to ip + port X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N That's a good suggestion, Tim. It didn't even cross my mind. Unfortunately, I don't have access to the DNS server on this one, but I have another site I want to move as well and I do have access to that DNS server. Thanks, Todd -----Original Message----- From: Tim Johnson [mailto:asfml@eggserver.tallships.ca] Sent: Friday, June 11, 2004 12:57 PM To: users@httpd.apache.org; Robert Andersson Subject: Re: [users@httpd] can I resolve vhost to ip + port Quoting Robert Andersson : > Todd wrote: > > 1. I should have mentioned that I have two IPs -- one as the main > > server IP and another "shared" IP that I'd like to use for several vhosts, > > including the one I'm working on. So now I'm thinking this won't work, > > right? > > Uhm... I suppose it should work, if you do it right. I'm not absolutely > clear on how you want it to work, so I cannot give detailed instructions. > > > 2. I did read up a little on "name-based" vhosts versus old-style > > vhosting. Can you use both at the same time should you need to? > > Yes, but it can get confusing. You can assign one IP/port-pair to each such > vhost, and then use one for several namebased vhosts. > > > 3. Finally, with the example below, would I also include > > "DocumentRoot /www/desired_directory?" > > Yes, it was a very simplified example. > > Remember to also make Apache listen to any IP and port that you are using. > You didn't say if you had Apache 1.3 or 2.0, but at least for the latter, > see: > http://httpd.apache.org/docs-2.0/mod/mpm_common.html#listen > > Regards, > Robert Andersson > If you have access to the DNS server (you mentioned you didn't want to change it yet, but if not setting yous hosts file may get you by) just create a new entry, like www2.domain and set your virthost in the config. Quite simple to change back when you're ready. Unless I totally mis-understood what you want to do... --------------------------------------------------------------------- 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 --------------------------------------------------------------------- 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