DIY Guide
Install WordPress on Ubuntu 24.04
Serve WordPress Lightning Fast
In Your Words
Customer Stories
Journey, Execute, Profit
Level Up
Caching and Performance
Run WordPress Faster
Other Resources
Boost Your WordPress Hosting Skills
This chapter is all about setting up the software needed to run a WordPress site. First we’ll install Nginx and configure it with better settings for our use. Next we’ll install PHP and its packages required by WordPress and configure PHP-FPM. Then we’ll install WP-CLI and MariaDB.
Brad Touesnard
Jul 10, 2024
Even after configuring HTTPS to encrypt connections between the browser and server, sites are still open to other areas of attack such as XSS, Clickjacking and MIME sniffing. We’ll take a look at each of those and how to deal with them. You’ll learn what a referrer policy is and how it can be useful.
Jul 09, 2024
In this chapter, we’ll cover what cron is and how to get around some typical hurdles. Then we’ll set up automatic renewals of HTTPS certificates. Next we discuss why we don’t set up an email server and step through configuration of outgoing email sending.
Jun 27, 2024
Once you have your server up and running, the first thing you’re likely to want to do is move an existing site over to it from elsewhere. In this chapter we walk through copying the site files, Nginx configs, and SSL certificates. Next we export the database and import the database. Then we test the site on the new server before flipping the switch.
In this chapter we’ll provision a new VPS at DigitalOcean with Ubuntu 22.04 LTS. We’ll login to the server via SSH, configure the hostname and timezone, install software updates, and set up automatic security updates. Then we’ll create a new sudo user, set up SSH login with keys instead of a password, and disable SSH for the root user. We’ll also install a firewall and fail2ban to protect against intrusion attempts.
This chapter is dedicated to implementing an automated, reliable way to create website backups. We cover how to automate backing up your site files and database. Then we dive into copying your backups to an offsite location, using Amazon S3. Finally we take a look at how to save costs for your remote backup storage, by implementing lifecycle rules that move your S3 backups to Amazon Glacier storage.
In this final chapter, we offer a complete Nginx configuration optimized for WordPress sites. Not only does it amalgamate all the information from the previous chapters, but we also draw upon the best practices from our experience over the years.
Learn how to combine incremental backups with full database backups and recover from failures quickly and thoroughly.
Jul 13, 2023
Why you might want to use Ansible as your automation engine, how to install it and get it set up.
Apr 24, 2023
How WAFs work, the types of threats they protect against, the pros and cons of various kinds of WAFs, and whether you should consider installing one.
James Clark
Mar 17, 2022
Begin your SpinupWP journey today and spin up your first server within minutes.