Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 84652 invoked from network); 16 Jun 2010 22:04:22 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Jun 2010 22:04:22 -0000 Received: (qmail 99097 invoked by uid 500); 16 Jun 2010 22:04:18 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 99026 invoked by uid 500); 16 Jun 2010 22:04:17 -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 99017 invoked by uid 99); 16 Jun 2010 22:04:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jun 2010 22:04:17 +0000 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=AWL,SPF_PASS,URIBL_BLACK X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of pid@pidster.com designates 74.125.82.45 as permitted sender) Received: from [74.125.82.45] (HELO mail-ww0-f45.google.com) (74.125.82.45) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jun 2010 22:04:10 +0000 Received: by wwa36 with SMTP id 36so867129wwa.18 for ; Wed, 16 Jun 2010 15:03:48 -0700 (PDT) Received: by 10.227.144.141 with SMTP id z13mr9394413wbu.154.1276725827809; Wed, 16 Jun 2010 15:03:47 -0700 (PDT) Received: from Phoenix.local (cpc2-lewi13-2-0-cust269.2-4.cable.virginmedia.com [86.14.119.14]) by mx.google.com with ESMTPS id n31sm58260686wba.3.2010.06.16.15.03.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 16 Jun 2010 15:03:46 -0700 (PDT) Message-ID: <4C194A38.1010509@pidster.com> Date: Wed, 16 Jun 2010 23:03:36 +0100 From: Pid Reply-To: pid@pidster.com Organization: Pidster Inc User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: adding hosts to server.xml References: <42705.34040.qm@web88208.mail.re2.yahoo.com> <4C1929FB.1030109@ice-sa.com> In-Reply-To: <4C1929FB.1030109@ice-sa.com> X-Enigmail-Version: 1.0.1 OpenPGP: id=62590808 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigAF2D93FE0C19AB1B762A8BFD" --------------enigAF2D93FE0C19AB1B762A8BFD Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 16/06/2010 20:46, Andr=E9 Warnier wrote: > jbuy@rogers.com wrote: >> i have configured iis7 to work in front of tomcat6 with the isapi >> redirector. Now, i can see a servlet("my-servlet") i've made under >> http://localhost/my-servlet. How do i get it to work for my own >> domain("www.mywebsite.com"), ie. www.mywebsite.com/my-servlet ? I've >> read the docs and tried adding a new host parameter for tomcat's >> server.xml file, and have tinkered around with workers.properties and >> uriworkermap.properties files with no luck. >> >> I'm not sure if this is the right way to go about doing this? >> >> Simply, i have http://localhost/ working, how do i get >> www.mywebsite.com/ to work as well? >> > In all likelihood, your problem is due to Name Resolution, not to Tomca= t. > Go back to the standard config before you started tinkering (the one > where it was working with http://localhost/my-servlet). > On the workstation where you call up the browser, find the "hosts" file= > (normally in C:\windows\system32\drivers\etc), edit it with notepad and= > add a line : > w.x.y.z www.mywebsite.com > where w.x.y.z is the IP address of the IIS server machine. > (If all of this is on the same machine, then use 127.0.0.1 for this IP > address) >=20 > Close the browser, re-open it, and try http://www.mywebsite.com/my-serv= let We should also ask: is there a particular reason for using IIS as well as Tomcat, or can you drop IIS? p > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org >=20 --------------enigAF2D93FE0C19AB1B762A8BFD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iQIVAwUBTBlKQGoM2OGpOvr9AQqugBAAhor18/HFmfnWf9CmVsiNWZE8KSRyXIID Vk+2a6q6ORSCg1MS8RobB6XFhbhUC0o+LMRDwANnVHxY8JDLbFMgoDD1Ci3VyXt5 aP220S6D9yGq8bFxd58aEa5r2tHGKxeQfv71ukuU/+fKc6DPPHLFbJnH9iCoWAVL e51jP5V1lnH7+aa8jFoss04zT5x47HDmyOLY0QH5bqMOZhZZ3RSTn8NFTKzn4OwC dwZNgJ2IjmkbRjZsD5ycJ+w7EaFtlzbfh6Lbs1uwbnzyZT1f4iBk539f5jmNUhuU h548RrlRYDv8oIbrxk//UgKVd+VkBGEchiIaKxj8kXsIuPiBZ0KWl1AK2yXf9ZlQ haT9FwjvAbbHcf0tLWT1CM4/jFEbQvr+yvk6mXkRNnyu2i2L/h3g/IxIspWMqqqd VqPI12I8B4pD8+yTAnjw71mApwnzUFjSHr71t6pOvmOjB4X2AAxky1oyV93YTR21 ICbShkUt07tJZJSPr4c6q5NiEvI1orXVe7LGKdSY59h21pRsoSvtFY/QhgoH8EJb RDdPeHc2YEg9StCDKUNxk4s23cluO/Vome7lH4MChQwjhMPWpm9rlHMwMIn7ePAr LXTVVhf96PulpPQPXDV7+I1jWdctH4lhPQe3ciJ0f27Rpzi+HQz5sSmcfUNsHJ20 k9bfsm/ufXQ= =ga7L -----END PGP SIGNATURE----- --------------enigAF2D93FE0C19AB1B762A8BFD--