Web application access different between Domain Name and IP
- by h82
in our office, we have a web application running.
When we access the application by the domain name, http://server.domain.com/application/name
it will display the current version of application.
However, when we go by the IP address, http://192.168.1.111/application/name
it will display the old version of that application.
One thing is that we can access that application either by
http://server.domain.com/ (it will be redirected to the long URL automatically) or http://server.domain.com/application/name
when we are using domain name.
But only accessible via the exact URL when we use IP address. Why is it showing the old version and how can it be corrected? It is running JRun4, Apache on Red hat.
I've checked in httpd.conf a bit but could not find any.
Please advice what should be done to display the same (updated version)
when we access using domain name or IP address. Thank you.