Digitalocean Wordpress



  1. Digitalocean Wordpress Droplet
  2. Install Wordpress Digitalocean

If you have connected your server to ServerPilot, you can install WordPress with one click when you create an app.

Step One: Create an App in ServerPilot

An app is a web application, such as WordPress.

WordPress is the most popular CMS (content management system) on the internet. It allows you to easily set up flexible blogs and websites on top of a MySQL b. WordPress is Open Source software designed for everyone, emphasizing accessibility, performance, security, and ease of use to create a website, blog, or app. WordPress is a content managment system (CMS) built on PHP and using MySQL as a data store, powering over 30% of internet sites today. This DigitalOcean Marketplace Kubernetes 1-Click installs WordPress and MariaDB onto.

In ServerPilot, click Create App; this can be done immediately after connecting a server or by going to the Apps page.

Give your app a name and enter your site's domain if you have one. Select the PHP version and the server you want this app to be on (probably the one you just set up). You may also select the system user you want to run this app.

Step Two: Use the One-Click Installer

Now, place a check mark next to WordPress; a new form will appear.

Enter your site title, your administrator username, a password, and your email address for setup confirmation. The administrator username and password are not the same as those for the app's system user.

Click Create App to submit the form. You'll be shown some details about the app.

Step Three: Review Your Database

ServerPilot's one-click WordPress installer automatically generates your MySQL database name, username, and password. You can review these in ServerPilot.

Open your app in ServerPilot and go to the Databases tab. Click Create Database.

You'll see your database name and username.

Clicking on the username will allow you to change the database password, if you want to install Adminer.

If you change the automatically generated password, you will also need to change it in your app's wp-config.php file.

That's It!

Now, you'll be able to log in to your brand new, blazingly fast WordPress Dashboard when you visit your server's IP address or your domain after you configure DNS to point to your server.

Your WordPress files will be stored on your server in your app's public folder (also known as the web root directory) at apps/APPNAME/public.

ServerPilot will keep your server's system packages updated with security updates. ServerPilot also configured a firewall on your server so you don't have to worry about that.

We've taken the pain out of server management so you can focus on your apps.

Happy developing!

Installing and managing single/multiple WordPress sites in DigitalOcean can be a little tricky for non-techies. Unlike shared hosting, VPS like DigitalOcean doesn’t provide any cPanel where you can manage everything.

In this, I’ll guide you through installing high-performance, multiple WordPress sites in DigitalOcean without any pain, a guide for non-techies!

Table of Contents

Why DigitalOcean?

DigitalOcean is a high-performance cloud hosting company that competes with Amazon AWS and Google Cloud. Unlike shared hosting providers like GoDaddy or Bluehost, DigitalOcean provides raw VPS servers.

Advantages:

  • Super fast WordPress sites
  • No resource sharing
  • Unlimited websites
  • Cheaper than shared hosting if you’ve multiple sites
  • Hourly pricing
  • More choice on location
  • Full control over the server
  • Server level backups
  • Server level caching with Redis, Varnish etc

VPS vs Shared hosting?

In shared hosting, a single server will hold multiple accounts and their resources are shared. So even you get 1GB of RAM, others might be using it. High traffic to other sites will cause your server to slow down E.g.: GoDaddy, Bluehost Pros: Cheap Cons: Poor performance
As the name suggests, it’s a private server allocated just for you. No one will be sharing its resources. You’ll get full control and have access to 100% of the resources. Super fast! E.g.: DigitalOcean, Linode, Vultr Pros: High performance, unlimited websites, full control Cons: Price will be higher than shared hosting. Usually starts at $5/month

Create a Server in DigitalOcean

Login to your DigitalOcean dashboard and create a new Droplet (Droplet means VPS server).

Wordpress

Set the configuration as follows:

  • OS: Ubuntu 16.04 x64
  • Plan: Standard – $5/month
  • Backups: Yes (recommended, only extra $1/month)
  • Datacenter Region: Choose the one nearest to your audience

Once you’ve created the droplet, a username and password will be emailed to you. Note it down, we’ll use it in the next steps.

Install EasyEngine

EasyEngine is a tool that helps to install and manage high-performance WordPress in any VPS server easily! It will automatically install necessary packages like latest PHP, MySQL, Nginx, Letsencrypt (free SSL) etc. We’ll install our WordPress sites through EasyEngine in DigitalOcean.

Login to your droplet by clicking ‘Access Console’. You’ll be presented with a terminal. Enter the username and password you got in the email. You’ll be asked to reset the password on the first login.

Now install EasyEngine by entering the command:

It will take a few mins to install.

Install WordPress Site via EasyEngine

Once you’ve completed the installation of EasyEngine, let’s install WordPress. It’s just a single command:

Notice the “USERNAME” and “PASSWORD”. Change it as yours before executing the command

Wait for a couple of seconds/mins and your WordPress site will be live!

Digitalocean Wordpress Droplet

Connect your Domain

Install Wordpress Digitalocean

Once you’ve completed installing WordPress, to connect your domain copy the IP address of the droplet.

Open your DNS provider’s setting (I recommend Cloudflare) and paste the IP address in the ‘A record’.

If you’re using Cloudflare’s here is the screenshot:

Installing Multiple WordPress Sites

Since it’s a VPS there are no restrictions on the number of WordPress sites you can install. I usually have around 5-10 WordPress sites in a single $5 server.

Book the glass castle

To install another site, log in to the console as above and execute the same command with the new domain.

Useful EasyEngine Commands

Delete the existing WordPress site:

List the existing WordPress site:

Restart a site:

cPanel for DigitalOcean?

Unlike Shared hosting or Managed WP hosting, DigitalOcean (or any other VPS provider) doesn’t come with a cPanel installed by default.

With EasyEngine 95% of the time, you won’t need a control panel like cPanel. Also, these control panels will add extra 300-500MB RAM usage.

But, if you’re not comfortable with these terminals and commands, and need more advanced features like staging URL, daily backups, UI, etc, check out Cloudways. Cloudways is a managed cloud hosting platform that allows you to host WordPress in different cloud providers like DigitalOcean.

Conclusion

With DigitalOcean, EasyEngine and Cloudflare you’re going to get a super-fast WordPress site. If you’ve multiple WP sites, you can install all of them in a single $5 droplet which will be even cheaper than shared hosting! This is what I do.

Comment below if you’ve any queries or feedback. I read and reply to each of them within 8 hours!