Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 44381 invoked from network); 27 Jun 2008 20:39:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jun 2008 20:39:01 -0000 Received: (qmail 60046 invoked by uid 500); 27 Jun 2008 20:38:50 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 60020 invoked by uid 500); 27 Jun 2008 20:38:50 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 60009 invoked by uid 99); 27 Jun 2008 20:38:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jun 2008 13:38:50 -0700 X-ASF-Spam-Status: No, hits=4.1 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WEIRD_PORT,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jun 2008 20:37:59 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KCKi2-00084c-KZ for users@tomcat.apache.org; Fri, 27 Jun 2008 13:38:18 -0700 Message-ID: <18163389.post@talk.nabble.com> Date: Fri, 27 Jun 2008 13:38:18 -0700 (PDT) From: dylanmac To: users@tomcat.apache.org Subject: RE: Multiple development sites using different ports In-Reply-To: <0AAE5AB84B013E45A7B61CB66943C17213853A2A81@USEA-EXCH7.na.uis.unisys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: dylanmac@gmail.com References: <18139932.post@talk.nabble.com> <4eedb92a0806261246k62b85af2i7913bddd65979998@mail.gmail.com> <18145753.post@talk.nabble.com> <0AAE5AB84B013E45A7B61CB66943C17213853A2A81@USEA-EXCH7.na.uis.unisys.com> X-Virus-Checked: Checked by ClamAV on apache.org So here's what I entered in my server.xml file based on various pieces of advice: and here's what's in my hosts file: 127.0.0.1 localhost ::1 localhost 127.0.0.1 devlocal1 127.0.0.1 devlocal2 When I try to hit either http://devlocal1/ or http://localhost:9091/ this is what I get in my browser (and yes, Tomcat was restarted) Failed to Connect Firefox can't establish a connection to the server at revfoodslocal:9091. - Dylan Caldarale, Charles R wrote: > >> From: dylanmac [mailto:dylanmac@gmail.com] >> Subject: Re: Multiple development sites using different ports >> >> I looked at name-based virtual hosts and couldn't get it >> working. > > What did you try and what didn't work? Be specific. > > Did you read the doc: > http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html > >> I need to configure the DNS properly for >> name-based virtual hosting to work. > > Only if you're going to expose your web sites to an uncontrolled set of > clients (e.g., the Internet). Otherwise, as Hassan noted, simply update > the /etc/hosts file on each client computer to include all the host names > you want, all targeting the same IP address. (For Windows clients, it's > in C:\WINDOWS\system32\drivers\etc\hosts.) > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you > received this in error, please contact the sender and delete the e-mail > and its attachments from all computers. > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > > -- View this message in context: http://www.nabble.com/Multiple-development-sites-using-different-ports-tp18139932p18163389.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org