I have 2 servers on the same network and I've set one up as an apache and php server and the other up as a dedicated postgres server. I did this to try and reduce the load from one server and hopefully speed things up a little. The problem is that i think php accesses the postgres server through the internet because it is extremely slow. How can i get the php to use the internal network to access the postgres server.
Any help will be appreciated.
Any help will be appreciated.