Msg#: 3836170 posted 2:18 am on Jan 28, 2009 (gmt 0)
Hi, I have a site with heavy traffic and lots of dynamic content, so I'll have to implement an external server to store images, and relief Apache from serving them. But I'm not sure about the implementation for this.
I'd like to have a subdomain like images.mysite.com pointing to the image server (with different IP of course), and I'm not sure how to do that. I have DirectAdmin and full root access on both servers.
Also, when a user uploads a photo using the PHP scripts, the image must be stored on the other server. The only way I can figure out to do this is using the PHP FTP functions, but I wonder if there's a more convenient way to do this.
Any tips on any of the issues I asked will be greatly appreciated, thanks!
Msg#: 3836170 posted 7:05 pm on Feb 9, 2009 (gmt 0)
Thanks, for now I'll use the normal FTP functions because it seems to be quite fast and effective. When I connect to the root with WinSCP in SCP mode, everything seems much slower than the normal FTP access.