web analytics

How to Host a Joomla Website for Free on Openshift

Joomla-Openshift-Logo

The previous two tips were step by step tutorials on how to host a Joomla website for free (only for one year) on Amazon Web Services (AWS) on both Windows Server and Ubuntu with Zpanel. AWS is an IaaS (Infrastructure as a Service) market leader and hosting a Joomla website for free on their platform has many advantages.

This tip will present a step by step tutorial on how to host a Joomla website for free (forever! No credit card is even required) on Openshift. Openshift is a PaaS (Platform as a Service) market leader. The service allows anyone to host a Joomla website for free without the need of a credit card and without anytime restriction of course you’ve restricted resources (1 GB of storage and 512 MB of RAM) and that’s quite enough to host a Joomla website, in case the website grew and you want to scale you can easily do that for a very affordable price. Without further ado let’s dive into the steps.

Ingredients

  1. A free Openshift account, just go to Openshift website and register using your email, no credit card is required.

 1 - create openshift account

 Steps

  1. After registering; go to Openshift home page and click on the “MY APPS” on the top of the screen.2 - open Openshift Account
  2. You’ll be directed to your log-in window and enter your credentials, you’ll be directed to a new window click on the blue “Create your first application now” link.3-create openshift application
  3. You’ll be directed to a window, select the “PHP 5.4” tab from the “PHP” menu.PHP-on-Openshift
  4. You’ll be directed to a new window, in the public URL; type the name of the project/application name (e.g. MyAwesomeWebsite, Joomla, etc.) in the first space and the domain name (it’s not your real domain name, just any identification name e.g. AwesomeGuy/AwesomeGal) in the second space.5 - openshift application name
  5. Under the public URL, there’s the source code slot, just copy and paste the following  link “https://github.com/joomla/joomla-cms.git” and it should like the screenshot below:Joomla-on-Openshift Source Code
  6. Leave everything as it’s and click on “Create Application” tab at the end of the window.Create-an-Application-on-Openshift
  7. It will take a while then you’ll be directed to a new window, just click on the blue “Not now continue” link. OPenshift-Joomla-Application-Overview
  8. You’ll be directed to a new window where you should add MySQL just by clicking the blue “MySQL” link.Add-MySQL-to-Joomla-Application
  9. You’ll be directed to a new window, just click on the “Add Cartridge” tab. Add-MySQL-Cartridge
  10. You shall be directed to anew window where you shall find all of your “MySQL” credentials. Joomla-MySQL-Credentials
  11. Now you’ll need to add phpMyAdmin; click on the blue “Add phpMyAdmin” located at the bottom of the same window. add phpmyadmin gear
  12. You’ll then be directed to a new window to confirm the addition of phpMyAdmin, just click on the “Add Cartridge” tab.joomla phpmyadmin add cartridge
  13. You’ll be directed to the main window again and it’s time to go to your website and install Joomla, to do that simply click on the blue link at the top of the screen (that’s your URL).Link-to-Joomla-Website-1024x89
  14. You’ll be directed to the Joomla installation window.

Joomla-Installation-Window-on-Openshift

Now you’ve a fully functional and free hosted Joomla website. Now, there are some side notes:

  1. To direct your new website to your own domain (e.g. www.example.com), simply put your Openshift address (xxxx-zzzz.rhcloud.com) in your CNAME record in your domain registrar panel, then open your panel and click on the blue “Change” link. Joomla-change-domain
  2. You’ll be directed to a new window; type your domain name in “Domain Name” field on Openshift.

Joomla-CNAMENow, you’ve a fully functional Joomla website that’s hosted for free on Openshift.