Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 81136 invoked from network); 19 Jan 2011 20:28:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Jan 2011 20:28:03 -0000 Received: (qmail 96989 invoked by uid 500); 19 Jan 2011 20:27:59 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 96903 invoked by uid 500); 19 Jan 2011 20:27:59 -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 96893 invoked by uid 99); 19 Jan 2011 20:27:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jan 2011 20:27:58 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=NORMAL_HTTP_TO_IP,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aw@ice-sa.com designates 212.85.38.228 as permitted sender) Received: from [212.85.38.228] (HELO tor.combios.es) (212.85.38.228) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jan 2011 20:27:50 +0000 Received: from [192.168.245.129] (p549E0A71.dip0.t-ipconnect.de [84.158.10.113]) by tor.combios.es (Postfix) with ESMTPA id 871D3226317 for ; Wed, 19 Jan 2011 21:20:47 +0100 (CET) Message-ID: <4D37492D.5010403@ice-sa.com> Date: Wed, 19 Jan 2011 21:27:25 +0100 From: =?ISO-8859-1?Q?Andr=E9_Warnier?= Reply-To: Tomcat Users List User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Question about redirecting in tomcat References: <30711752.post@talk.nabble.com> In-Reply-To: <30711752.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Ayman_AU wrote: > Hi Gurus, > > I have a question which will be a great help if you can answer it for me. > Thanks in advance. > > I created a DNS on a LAN called peterbay.ae > This DNS is forwarding to IP address 10.10.8.14 > I have an application running on Tomcat which can be accessed via this > address: > > http://10.10.8.14:19080/taskspace?appname=AAM_CMS2 > > I want user to go on peterbay.ae and get forwarded to the above URL. I know > that some configuration should be done on tomcat server.xml > > Please confirm and what to do if possible. > Hi. As it is phrased, your question is difficult to understand. I'll try an answer : If your DNS is configured properly, and your workstation is using it, and your Tomcat has a standard configuration, then you should not need to do anything. It should just work. By the way, DNS or whatever does not "forward" anything. DNS is just like a telephone directory (or, if you do not understand that expression, like the "contact list" on a mobile phone). It is used by the browser to translate a computer name (like "peterbay.ae"), easier for humans to remember, into an IP address (like 10.10.8.14) which is what computers and networks use. When the browser receives the translation (the IP address), it makes a connection to that address and sends the URL to it. If Tomcat is listening at the other end, it will process that call and send a response. By entering the URL "http://10.10.8.14:19080/taskspace?appname=AAM_CMS2", you are just skipping one step (the DNS translation), but otherwise it is (almost) the same thing. In other words, if it does not work, it is a problem of the browsing station configuration, or the DNS configuration, but not a problem of Tomcat. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org