I am running a blog on shared webhosting. The website itself is on the hosting, but my files right now are on Amazons S3 CDN. I have made a bucket lockated in the US, and I have setup a virtual host with a free domain name I have. Summed up:
- Running a blog on mydomain.com
- Files on s3, bucket in the US, virtual host mybucket.cdnname.net
Now I myself am located in The Netherlands, Europe, and here is where my own webhosting server is located.
What I have seen in the speedtests, is that is takes some time before the files are fetched from amazon, I wanted to know if I can optimize this a little bit.
--
So actually what I want do if it is possible, is to set up a cookieless domain on my own server, and have a mirror of my files on the server right here. The files are already mirrored by default so that is no problem. Now for the visitors nearby, including myself, I want to just fetch the locally stored files.
Is this possible ? How do I tell mybucket.cdnname.net
to not get the files from amazon, but instead get the files locally.