Articles tagged as "Hosting". 19 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 08: Migrating WordPress to a New Server

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.

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

DigitalOcean vs Vultr vs Akamai/Linode vs Hetzner vs AWS vs Google Cloud

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

Avatar photo

Cameron Pavey

Jun 20, 2024

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.