Install WordPress on Vultr
Installing WordPress on Vultr is a very easy task to do. Some time ago, it was a tough one since we had to create a database, install WordPress manually, etc.
But now, with new tools such as WordOps or EasyEngine, it’s effortless to install WordPress with a few simple clicks.
In this tutorial, you will learn how to install WordPress on a Vultr instance plus a free SSL certificate.
How to Install WordPress on Vultr
One of the most common methods to install WordPress on Vultr is by using the 1-click application that comes by default.
But the problem with this application is that it doesn’t come with an SSL certificate, and it’s very difficult to install this certificate after creating the server.
That’s why I found an easier method of installing WordPress with an app called WordOps (which allows you to easily install an SSL certificate).
Step 1: Create an account in Vultr
The first step will be to create an account in Vultr. If you don’t have an account yet, you can create one with this link and get a $ 100 link to use on servers.
Step 2: Install a server
Once you have the Vultr account, the next step will be to create a server.
In the main panel, select “Deploy New Server”.
Then, select “Cloud Compute.”
The location of the server will depend on you. You will want to choose the server closest to your target audience to load faster on users.
In the server type, you can choose Debian 10 or Ubuntu 18.04 from 64bit. Personally, I prefer Debian more since it is more stable. It’s important that you choose one of these two operating systems since otherwise, the following steps will not work.
In the server size, you can choose the one you prefer. The larger the server, the faster it will work, and it will support more web traffic. Usually, a server between $ 5 and $ 20 is good to start.
In the future, you can change the server size if you start receiving more traffic.
Then, in “Additional Features”, you don’t need any options.
Name the server as you wish and deploy the server.
Step 3: Direct domain DNS to server IP
After creating the server, you will see that it has an IP address. This IP address is the location of the server.
To link the domain with the server, you must point the DNS of your domain to this IP address.
To do this, you must go to the DNS section of your domain provider (such as Namecheap, or GoDaddy).
In this section, you must create two A Records that point to your IP:
- 1st A Record: In “host” or “hostname” you have to write “@”. In other domain providers, you must leave it empty. You will notice because it won’t let you put the “@”.
And in “value” or “address”, you must set the server IP.
- 2nd A Record: In “host” or “hostname” you have to write “www”. And in “value” you must put the same IP address of the server.
It will look similar to this:
Then save the changes and remove the other DNS you used in your domain.
Before moving on to the next step, you must wait 30 minutes to 1 hour to make sure the change is effective.
Tip: Check DNS One way to confirm that the IP has been changed is to go to https://www.whatsmydns.net/ and enter your domain. When you enter search, the new IP should appear on the list.
Step 4: Install WordPress on the server
Once you have the domain pointing to your server, you must install WordPress on the server.
To do this, go back to the Vultr panel, select the server, and look for the console.
Now you must log in with the username and password. This data will appear on the server.
You must pay attention to the password because some keys are different in the console. When you type the password, the console does not show you what you are typing, so you must do it blindly. To test the password keys, you can do it in “login”, since they are visible there.
Once you’ve logged in, you must install WordOps on your server. WordOps is a tool to install WordPress with SSL easily.
The first command you should run is this:
wget -qO wo wops.cc && sudo bash wo
- Tip: Don’t confuse the O (letter), with the 0 (number). The letter after the “-q” is the letter “O” capital.
The console will ask you for a name and an email.
Then, you must install your site with the domain.
For that, you must run this command:
sudo wo site create example.com –wp –letsencrypt
- And replace “example.com” with your real domain.
Once the process is finished, you will have already installed WordPress on Vultr with an SSL certificate.
Your site will look like this after installing WordPress from scratch.
Now you can start editing your site or migrate your old site with a backup.
If you wanna know more about WordOps, here I will explain a bit. I don’t want to overwhelm you, so I’ll be concise.
WordOps is a command tool to configure an optimized LEMP stack (Nginx, PHP, MySql). And in this way, it helps create everything you need to install WordPress in two simple commands.
This is a free tool that helps a lot to install WordPress on a VPS server.
The operating systems supported by WordOps are.
- Ubuntu 16.04 and 18.04
- Debian 9
- Debian 10
- Raspbian 9
- Raspbian 10
So it’s important that you install it in any of these operating systems. Personally, I prefer Debian 10 as it is the most stable option (in my opinion). If you are an Ubuntu fan, you can do it in version 18.04.
Is the SSL certificate renewed automatically?
Yes, Let’s Encrypt SSL certificates are renewed automatically every 45 days.
This is possible thanks to the acme.sh file that generates the renewal.
This is one of the great advantages of using WordOps. So, you don’t have to worry about anything.
Tips for using Vultr with WordPress
If you don’t have much knowledge in VPS, you should always have a backup of your WordPress site.
In case you ever have a technical problem, Vultr will help you with guides so that you can restore it yourself. But it won’t help you solve your WordPress crash due to a virus, or something else.
That’s why I recommend that you always have a saved backup. You can read this guide to make a WordPress Backup.
So, in case your page ever breaks. You simply destroy your server, create a new one, and restore the backup. It’s that simple.
Of course, you can try different solutions before, but many times this is the only option.
Many times also WordPress crash problems are solved by restarting the server.
How to protect your server
Another recommendation to protect your server is to use an antivirus plugin like WordFence. VPS servers are sometimes more vulnerable than Shared Hosting. This is because, in general, shared hosting companies have protection, firewalls, and antivirus.
Personally, my site has been dropped many times, and the solution was always to restart it. But after WordFence, the site stopped falling. Evidently, they were viruses or attacks.
You also have a Premium version of WordFence, which has a fairly cheap annual subscription. Believe me, it’s worth it to protect your server for a few dollars. Anyway, the free version is good enough to protect your server.
WordPress + Vultr: Final Thoughts
Installing WordPress on Vultr is a simple way to improve the speed of your website and allow more traffic.
Vultr instances are incredibly cheap and worth using.
I always recommend you take all necessary precautions to protect your problem through backups and antivirus.
WordOps turns out to be an excellent tool to install WordPress easily on a VPS server. This tool is free, and we will always be grateful.
So, you can start with your new site in Vultr from today!
You may also like:
- DigitalOcean vs. Vultr: VPS Comparison
- Cloudways Review: Manged VPS Hosting
- The Best e-Wallets in 2020