Best VPS setup for a single WordPress site?

November 4, 2018 1.6k views
Nginx CentOS Apache PHP WordPress API Caching Applications

Hello, I have a WordPress project and would like suggestions for settings for the server.
Initially I will not have more than 5 thousand monthly visits.
What I need is performance, as I will integrate via API with an application created in React Native I need to load information quickly.
What better configuration?
Apache or NGINX? Compensate for using cPanel? Varnish?

2 Answers

Hi,

If you go the cPanel route, get the latest Apache 2.4.x, with Varnish, and Redis. The reason I recommend both Varnish and Redis is that they work at two different levels of caching. Varnish works at the HTTP level, which means Apache, PHP, and MySQL (APM) have almost zero pressure to produce a cached page. And if the server does need to hit APM, Redis is there to take the load off. It’s the best of both worlds. And if you ever miss Nginx and want to add it to the mix, checkout my Varnish Nginx Plugin for cPanel (see links below).

https://www.unixy.net/redis
https://www.unixy.net/advanced-hosting/varnish-nginx-cpanel/

Have another answer? Share your knowledge.

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