Articles tagged as "DigitalOcean". 15 results

Chapter 02: Install Nginx, PHP 8.3, WP-CLI, and MySQL

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

Chapter 07: Nginx Security Hardening for Running WordPress

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.

Brad Touesnard

Jul 09, 2024

Chapter 09: Monitoring and Ongoing Maintenance

In this chapter we walk through setting up server monitoring and alerting on DigitalOcean. We discuss how to investigate problems when you get an alert. Then we emphasize the importance of keeping plugins and themes up-to-date, checking that backups are actually running, and watching log files for problems. Finally we walk through updating server software and upgrading PHP to a new major version.

Brad Touesnard

Jun 27, 2024

Chapter 05: WordPress Cron and Email Sending

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.

Brad Touesnard

Jun 27, 2024

Chapter 04: Configure Redis Object Cache and Nginx FastCGI Page Cache for WordPress

We’ll start this chapter with a benchmark of site speed without caching and end it with a benchmark with caching enabled. We’ll install Redis and a companion WordPress plugin that will work together to enable object caching. Next we’ll return to our Nginx config files and add a batch of directives to enable FastCGI Cache and tell it what not to cache, including some directives for WooCommerce.

Brad Touesnard

Jun 27, 2024

Chapter 03: Configure Nginx to Serve WordPress Over HTTPS

In this chapter we’ll discuss HTTPS and why it’s so important before updating our DNS and obtaining our first SSL certificate from Let’s Encrypt. Then we’ll add a new config file to Nginx for our first site complete with a redirect from HTTP to HTTPS. Next we’ll create a database for the site and we’ll use WP-CLI to install WordPress. We’ll wrap up with a discussion about creating more sites on the server.

Brad Touesnard

Jun 27, 2024

Chapter 01: Set Up and Secure a VPS on DigitalOcean

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.

Brad Touesnard

Jun 27, 2024

Chapter 10: Complete Nginx Configuration Kit for WordPress

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.

Brad Touesnard

Jun 27, 2024

Which cloud server performs best for hosting WordPress?

We’ll compare ease of use and benchmark performance for three of the most popular server providers.

Avatar photo

Cameron Pavey

Jun 20, 2024

How to Install Ansible and Automate Your Ubuntu 22.04 Server Setup

Why you might want to use Ansible as your automation engine, how to install it and get it set up.

Brad Touesnard

Apr 24, 2023

Start Your 7-Day Free Trial

Begin your SpinupWP journey today and spin up your first server within minutes.

Subscribe to get the latest news, updates and optimizations in performance and security.

You are already logged in

It looks like you are already logged in to SpinupWP.

Please log out of this account to continue.

Registration Successful

Thanks for registering for a new SpinupWP account.

Before getting started, could you verify your email address by clicking on the link we just emailed to you?

Start Your 7-Day Free Trial

No credit card required. All features included.

By signing up to SpinupWP, you agree to our Terms and Conditions.
For privacy related information, view our Privacy Policy.