Multi server management
- by user788721
We are running a website that allow users to create their own content, then share it through an iframe.
We would like to get more servers to host the user content, and the main one for our website.
Each user has a link like xxxx.com/content989856, xxxx.com/content45454545
We were thinking of two options :
using a htaccess on the main server that will redirect to the good server but the problem is that if the main server is out, then all the content is out as well
using subdomain depending on where the content is hosted, but then if we change the user content from one domain to another one, we will have to change his links as well
Do you know a better option or is that really the only two available ?
I am wondering how big websites like youtube handle this problem.
Thank you very much for your help,