There is no denying that WPEngine offers the fastest WordPress hosting on planet earth. They’ve invested millions into building the fastest platform possible. That’s why they charge so much money for their services. Because they are worth it. Some of us can’t afford to pay $100-$1000/mo for WordPress hosting. The good news is that if you’re not afraid to get your hands dirty on a Linux command line, you can build your own server that will get you most of the way to a WPEngine class WordPress instance. There are a few key technologies that make this possible.
- Percona DB (like MySQL)
- HHVM – A super fast PHP VM
- PHP-FPM – Just in case HHVM has a problem
- Varnish – Awesome reverse proxy cache
- Memcached & APC
I think you’re probably starting to get the idea. These are the highest performers of the high performance technologies out there. We’re going to make them all work together to make your site blazing fast. It’s not all that hard and it doesn’t take very long.
All you need is a VPS or Virtual Machine running Ubuntu 14.04. Go ahead and SSH into it and we’ll get started.
How to build a WPEngine copycat server for FREE
The server you are working with MUST be able to resolve the hostnames of the sites you’re going to set up, to itself. So, if you are building this to replace a server that’s running and you don’t want to take that site down until everything is migrated, simply add hostname entries mapping the FQDN to the IP address in /etc/hosts.
First thing’s first, let’s make sure your Ubuntu 14.04 installation is updated and upgraded.
sudo apt-get update && sudo apt-get upgrade
Now we need to add the Ansible ppa.
sudo add-apt-repository ppa:ansible/ansible