How would you set up a server like Cloudways has (Nginx, Varnish, Memcached, Apache Server) for running WordPress?

Cloudways sets up servers for you on Digital Ocean (and Google and Amazon) that have an Nginx, Varnish, Memcached, Apache Server stack that they seem to think is pretty fast.

I’m new to this stuff, so I like the idea of them setting it up for me and all, but I don’t really like their dashboard (mainly because I cannot find an API for their services or how to add my own to their offerings). So I am wondering what the fastest WordPress server stack is and how to set it up.

I’d really like to know how to set up a proper Nginx, Varnish, Memcached, Apache Server stack like Cloudways has and I’d like to understand a little more about what makes it so fast.


Did you ever figure out a way to do this, or find an article explaining the details on how?

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

… just for the record, that stack is only if you use Wordpress. If you have a custom PHP website, Cloudways do not include the Varnish cache.


This thread just recently came into our radar.

Last year we were working on making our API public and make our platform more open to our clients.

We have recently announced our API and you can use it to use any of our platform functions.

Be it launching new servers, adding applications, controlling services on the servers etc.

You can access Cloudways API here:

This comment has been deleted

I also need this stack Nginx, Varnish, Memcached, Apache Server