Hey STM Techies,
Need your help please. Currently I am using Beyond Hosting VPS for both my tracking and LP hosting. Lately been running more mobile offers in Europe, and wanted to speed up the load times. I really dont want to move my server location, so I was considering using CDN by MaxCDN or Cloudflare to help with the LP load times. I wanted to know if you use dynamic LP that callouts city using Maxmind GeoLite Database ( installed on my server ) or Google Maps for example, how will the CDN handle that. Will it basically copy and store the static files from the LP and serve it from the closest datacenter, and any dynamic files will be called directly from my server directly? Am I understanding correctly?
A CDN will only help speeding up static content at most (html, css, photos and video). If calling out the city is using php with a database installed on your server, the user´s browser will still need to call the content of the php page (which will be processed on your server) and be returned to the browser. So basically the static content will be served from the location with the least latency (using a CDN) and the php page from your original server.
Traditional CDNs won't process PHP.
So, you will still need the PHP file to be loaded from your server so that processing of PHP code can happen.
Thus the latency in tracking between your users and your server will not change - but you can have static content like images, css, js etc load from the CDN.
Using CloudFlare over your landers is an easy way to cache this content while using PHP pages, as these will still get served from your origin.
However, I would strongly advise not putting CloudFlare over the top of your tracking domain - the caching, manipulation of headers, etc. can cause issues especially if you aren't technically inclined and since there is no content to cache, it will likely have no or a negative impact on tracking redirect speeds.
Frankly, the better solution is to run a VPS in Europe with its own tracking system instead and treat it as you do your US server.
Thanks all for your responses.
@ Zeno Yeah, I was considering the other option also, to keep everything simple, and basically just move the server over to Europe at somewhere like EuroVPS. I just am a little hesitant to migrate from Beyond. They are just awesome in every respect.
Don't migrate - just roll out a second VPS!
You can get a cheap VPS that will do the trick from Linode, Digital Ocean or Ramnode for $10/month. You will likely just need someone to help you set it up since they aren't managed.
If you just want to host landers, you may not even need to hire someone to help set it up. The Digital Ocean LAMP Stack setup option is pretty good for basic Web serving.
If you want to install a tracker there too, though (and you may well want to) you will need some help or some patience: the Digital Ocean tutorials are excellent but it'll take a little while to get everything working.