Not sure if this is the place to ask this question if not sorry about that. If I decide to turn off my cdn would that break the image links that are serviced on the different sites?
When you use a CDN you override the default (or local) links so /images/<file>.ext is delivered as http://cdnurl/<file>.ext. If you remove the CDN, internal pointers will get switched back to the local links so the script will keep working as usual, but any request to old CND-like URLs won't work.
If you used CDN + Cname you can easily setup a redirect from cname.<yourdomain>.tld/images/<file>.ext to redirects to /images/<file>.ext
Thanks for your help and the quick response. Can you give me a clear example on how that would look and where I would place it at, I'm assuming .htaccess file. Just not sure on how to set it up.
Point each CDN Cname to the server where you have the script running, then redirect all the traffic that doesn't matches your main website to your main website.
That was pretty simple, just changed the value in my DNS records to my domain instead of maxcdn, and already had 301 redirect. I hope I got everything set up correctly, anyway thanks for your help bud.