httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Minnesota Slinky <mnsli...@gmail.com>
Subject Re: [users@httpd] Apache not catching DNS
Date Fri, 08 Jul 2005 14:12:10 GMT
I would recommend doing an nslookup or dig on the hostname you think
that server should have.  Next, make sure the ip address on the
external NIC matches what DNS is returning.  If this is all correct
and things correlate, you've probably got a problem with Apache OR
there's a problem with some routers/firewalls on the way.

HTH

Eric

On 7/7/05, David Rickard <David.Rickard@techbooks.com> wrote:
> 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:
>         ServerName server.company.com:80
> the Host value in server.xml is:
>         <Host name="server.company.com" debug="0" appBase="webapps"
> and the host value in workers.properties is:
>         worker.ajp13.host=192.168.12.34 [this is the base IP of the machine]
> 
> With this configuration, the webapp works perfectly: point a browser to
> http://server.company.com/webapp/ 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 workers.properties to use the DNS, and restarted the server;
> and now the site cannot be found; browsing to http://public.site.com/webapp/
> produces a standard "Cannot find server" page; browsing to
> http://server.company.com/webapp/ still produces the
> (static) index page, but calls to dynamic pages (servlets/JSP) fail
> (presumably because Tomcat expects requests from public.site.com).  I
> suspect that this may be an IP/network issue (pinging public.site.com 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
> 
> TechBooks/GTS 
> Your Single Source Solution! 
> Los Angeles CA * York, PA * Boston,MA * New Delhi, India 
> Visit us on the World Wide Web http://www.techbooks.com 
> 
> david.rickard@techbooks.com 
> 5650 Jillson St., Los Angeles, CA 90040 
> (323) 888-8889 x331
> (323) 888-1849 (Fax) 
> 
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message