how do you connect two server ? they are on separate dc/provider. i want to make the other one just for bandwidth and other one is for spec. is it possible ?
You could host images and content on one server and let the more powerful machine process the data. So you might want to keep the DB and code on the more powerful machine. All media should be on the other machine. Simple way to do this is to create an "A" entry for: media.yourmaindomain.com -> IP.OF.SEC.BOX yourmaindomain.com will have img src calls and all media calls go to that A line. Let the main box process the data calls and let the client pull from the second machine.
i didn't quite understand it A-box = more powerful B-box = less powerful but has lots of b/w is it like... i would create an A entry on A-box? like domain.com -> ip-of-b-box this makes the A-box process things and B-Box process the b/w ?
It is impossible, when you want to spend bandwidth in one server only. They are located within 2 different datacenters, that means it requires 2 different public IP access. You can do, however, if both servers are using the same datacenter within one VLAN
Well you could use one as your webserver and one as your database server, but not advisable if they are physically very far apart or on a slow network. Plus you need to be quite a techie to set it all up, so unless you are, best if you pass on it IMHO.
Like LittleJonSupportSite say, use powerful machine for processing and the other one of storing media. In the end, it all depend on what you are hosting.