how to create exclusive cdn vps with nginx and centos

October 3, 2013 2.6k views
I need an orientation please want not only vps resource consuming for static files like js, css, img, html and php apache
2 Answers
I'm sorry, but it's a little difficult deciphering what you're trying to ask. Have you reviewed, this: How To Install Wordpress, Nginx, PHP, and Varnish on Ubuntu 12.04?
by Etel Sverdlov
Varnish is an HTTP accelerator and a useful tool for speeding up a server, especially during a times when there is high traffic to a site. It works by redirecting visitors to static pages whenever possible and only drawing on the server itself if there is a need for an active process. This tutorial covers installing wordpress on a LEMP stack (with nginx instead of apache), and then installing varnish.

If you not only want to deliver static content what do you intend to do?
If you don't have any prior experience in this field it will be quite a learning curve. Also the costs will quickly sum up and depending on your traffic spikes, a droplet might have limitations.
I suggest to use a CDN like KeyCDN. They will take care of content delivery and you don't even have monthly costs if you're not using it (unlike the droplets which will cost you even if idle)

Have another answer? Share your knowledge.