httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Rickard <>
Subject [users@httpd] Apache not catching DNS
Date Thu, 07 Jul 2005 17:48:46 GMT
System: Solaris SunOS 5.9
Apache: 2.0.52
Tomcat: 4.1.31
Mod JK: 1.2.6

We have a Java webapp which we are moving to a new server.
For initial testing on the new machine, we configured Apache and Tomcat to 
use the machine name, i.e. the ServerName directive in httpd.conf is:
the Host value in server.xml is:
         <Host name="" debug="0" appBase="webapps"
and the host value in is: [this is the base IP of the machine]

With this configuration, the webapp works perfectly: point a browser to and the site behaves as it should.

This morning, we disconnected the old machine from the network, added the 
webapp DNS IP to /etc/hosts on the new machine, updated httpd.conf, 
server.xml, and to use the DNS, and restarted the 
server; and now the site cannot be found; browsing to produces a standard "Cannot find server" 
page; browsing to still produces the 
(static) index page, but calls to dynamic pages (servlets/JSP) fail 
(presumably because Tomcat expects requests from  I 
suspect that this may be an IP/network issue (pinging on 
the new machine times out)--but the network guys insist everything is 
configured correctly (ifconfig produces the expected results on the 
server); but assuming that it is an Apache issue, what is likely to be wrong?


David Rickard
Software Engineer

Your Single Source Solution!
Los Angeles CA * York, PA * Boston,MA * New Delhi, India
Visit us on the World Wide Web 
5650 Jillson St., Los Angeles, CA 90040
(323) 888-8889 x331
(323) 888-1849 (Fax)

View raw message