HACKER Q&A
📣 4444

What’s optimal VPS required for fast WordPress hosting?


Hi, I am using shared webhosting for an ecommerce site (https://indicbrands.com)

we want to increase our performance in terms of loading time and i found that next step is to move to VPS.

Based on your experience can you share which is minimal requirement of VPS which can fast up the loading time in less then 1.5 or 2 second.

We dont have much visitors, may be daily 200-300 Max as of now.


  👤 gregjor Accepted Answer ✓
The best thing you can do for WordPress is separate the database (MySQL or PostgreSQL) from the web server. If those run on the same VPS they compete for memory. Most cloud hosting providers offer hosted MySQL/Postgres. You can configure the virtual private network so the database is not accessible on the public internet (for security) and the web server running WordPress can access it over a private IP address.

The VPS then only has to run Apache (or nginx) and PHP. A low-end 2 vCPU / 4 GB RAM server is fine for that.