bhunger
asked on
Cloned web server w Apache keeps routing to old ip address. Is problem in Apache config?
We were upgrading a web server. It runs Red Hat and uses Apache. We basically cloned the server (Clonezilla) and ported it to the new server. It's running fine, but when traffic comes through the wan interface through the router, it correctly port maps to the new server, then send the session over to the old server (it's still online). We've checked the router. Its setup is good. Port forwards to the new server. Is there something in the httpd.conf file that could redirect it over to the old sites lan ip?
Yes. The 'Listen' line probably still has the old IP address.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It's working now. Dave, the "listen" parameter didn't list an ip, just a port (80). Probably should plant the new ip address asap. Tomas, your comment also made sense in that the web server was picking up instructions from somewhere to go to the old other address (which was still on the lan).
Arnold, yes, there was a db behind the web server.
I'm getting the sys admin to recheck the host files and the httpd.conf file to make sure the old entries are updated accordingly.
One last point. Some kind of arp caching or old cached routing may have existed on the server which, when deactivated and reactivated, was cleared and resolved the issue. Thanks.
Arnold, yes, there was a db behind the web server.
I'm getting the sys admin to recheck the host files and the httpd.conf file to make sure the old entries are updated accordingly.
One last point. Some kind of arp caching or old cached routing may have existed on the server which, when deactivated and reactivated, was cleared and resolved the issue. Thanks.
ASKER
Thanks guys.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Glad to help.
Don't forget to close the question and award points to those that helped. :)
Regards,
Tomas Helgi
Don't forget to close the question and award points to those that helped. :)
Regards,
Tomas Helgi
ASKER
Thanks