check on the internet you will find an advance script with complete tutorial so you can setup the script by your self easily. I have learn a lot from these type of tutorial from the internet [Personal experience].
We'll i think No you cant do that. Few years back i had the same situation and talk about my developer about this and he said no we cant connect both database if they are on different server.