Hi,
In our cakephp application, we do a
file_get_contents('http://my.web.com',... );
Recently we changed the ip address of my.web.com, and we modified our /etc/hosts file, and flush dns cache using /etc/init.d/nscd restart, and restarted apache.
However, file_get_contents still refer to the old ip address, while if we do ping, nslookup, curl on my.web.com, we get the new ip address.
What are we missing?
Thanks