Hi, In my dns I enter 3 records: www.aaa.dev www.bbb.dev www.ccc.dev all redirect to ip 10.10.10.12 when I put in my browser anyone of the URLS I don't get my web site. And I don't want to enter the urls as a host header in server.xml. When I change in the server.xml to one of the URLS <Host name="www.aaa.dev" I get the web site Here is my server.xml.
<?xml version="1.0" encoding="UTF-8"?> <Server port="5111" shutdown="password"> <GlobalNamingResources> <!-- Used by Manager webapp --> <Resource name="UserDatabase" auth="Container" type="org.apache.catalina.UserDatabase" description="User database that can be updated and saved" factory="org.apache.catalina.users.MemoryUserDatabaseFactory" pathname="conf/tomcat-users.xml" /> </GlobalNamingResources> <Service name="Catalina"> <!-- Define a non-SSL HTTP/1.1 Connector on port 5222 --> <Connector port="5222" maxHttpHeaderSize="8192" maxThreads="1500" minSpareThreads="25" maxSpareThreads="150" enableLookups="false" redirectPort="8443" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" maxKeepAliveRequests="1000" server="katatak" /> <!-- This is here for compatibility only, not required --> <Connector port="5333" protocol="AJP/1.3" /> <Engine name="Catalina" defaultHost="localhost"> <Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase" /> # <Host name="localhost" appBase="webapps" /> <Host name="10.10.10.12" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> <Context path="" docBase="xxx" reloadable="true" swallowOutput="true"> <WatchedResource>WEB-INF/web.xml</WatchedResource> </Context> <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs/xxx" prefix="access.log." fileDateFormat="yyyyMMddHH" suffix="" pattern='%B %a %m %U %q %s %t %D "%{Referer}i" "%{User-Agent}i" %S' resolveHosts="false"/> </Host> </Engine> </Service> </Server> Thanks in advanced -----Original Message----- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2008 6:08 PM To: Tomcat Users List Subject: Re: tomcat5.5 site configuration. On Tue, Aug 12, 2008 at 8:02 AM, Shahar Cohen <[EMAIL PROTECTED]> wrote: > I have installed tomcat 5.5 on my linux and I want to configure my > website so I would be able to connect to it without the need to > configure host header in a virtual site but receiving requests to the ip > address of the site on the specified port which are coming > From multiple DNS directions. Assuming I understand what you're asking -- it does that by default. What problem are you having? -- Hassan Schroeder ------------------------ [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]