Update: Koding doesn’t provide free VMs for development anymore, you can’t use this post to learn about deploying WordPress on an Ubuntu server anymore.
In previous posts we’ve discussed how to host a WordPress website for free on Openshift, we’ve also discussed how to host a WordPress website for free on Amazon web services (AWS) via ZPanel, on Amazon Linux and on Windows Server. In this post we shall discuss deploying WordPress on Koding,.com.
Before starting the guide there are some points that should be clarified; we’re discussing deploying WordPress on Koding for the sake of development (as an alternative to WAMP) and not for an actual production website as the free VM (virtual machine) provided by Koding for the free account is turned off after one hour of being idle. Koding provide each user with a VM that has 1GB of RAM and 3GB of storage.
With the above clarification out of the way and without any further ado let’s dive into the guide.
First, visit www.koding.com and create a free account, you only need an email no other additional information is required.
A verification email would be sent to you, you will need to use it in order to start your VM, after doing that go to the terminal (bottom section of the window) and type the following command and hit “Enter”:
kpm install mysql
During MySQL installation you’ll be asked to create a password, create a strong password and write it on apiece of paper (you can use KeePass or any password manager for that) as you’ll need it during the WordPress installation.
After finishing the installation of MySQL you’ll be prompted by a message informing you that the installation is complete. Now, type the following in the command line:
kpm install wordpress
You’ll be prompted by request to enter your MySQL password, enter the password you’ve created in step 3.
After the installation is complete you’ll be prompted by a link to your newly created WordPress website.
Copy and paste that link to your browser and you’ll be directed to your WordPress installation window.
Congratulations, you’ve successfully deployed WordPress on Koding. A final reminder; the VM provided by Koding will shutdown after 1 hour of being idle so you’ve to take that into consideration. You can always turn it on again from your Koding console.