Jump to content

problems connecting to a remote server


ldoozer

Recommended Posts

Hi all, I have a .com website hosted in the US with a php page calling from mysql database. I now need to do a .co.uk version of the site hosted on a different server. Thing is i want both sites to use the db from the US server.
I tried just copying the php pages to the UK server and changing the host from local host to the ip of the US server but this didnt work, just get a error saying cant connect to DB.

Any one have any ideas why this might be.

Please ask if you need more info.

Any help greatly appreciated.
Link to comment
https://forums.phpfreaks.com/topic/28379-problems-connecting-to-a-remote-server/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.