WordPress on OpenShift for Dummies

How to Install WordPress on OpenShift
How to Install WordPress on OpenShift
Openshift not allowed any gears for free. Thats why this guide become useless.

In Blogging World finding a quality host for your blog is easy but finding a quality free blog hosting is a really big deal. Many bloggers have enough money to buy a quality web host but what about a rest of all. In this tutorial, I am teaching you how to Install WordPress Blog on OpenShift for Dummies.

If You Don’t want a free WordPress hosting for your blog than choose SiteGround[Aff Link]

What is OpenShift?

If you don’t know about anything OpenShift, It’s a

OpenShift is Red Hat’s Platform-as-a-Service (PaaS) that allows developers to quickly develop, host and scale applications in a cloud environment.

OpenShift is a PaaS that allow you to run your own app for free with low resources. It offers 1GB storage and 512MB RAM and has support for custom domains. It’s just like a real server, but you get it for free.

OpenShift Offers:

  • free account with three gears
  • 15 Page Views / Second
  • 50K Page Views / Month
  • 1GB per gear storage

* What are gears? Gears are virtual containers with a set of resources that allows users to run their applications. Small gears give 512MB RAM and 1GB disk quota under the free plan.

How to Setup WordPress on OpenShift

There is only three step to Install WordPress on OpenShift.

  • Create Your Account
  • Create Your Application
  • Setup WordPress Blog

1.Create Your Account

Sign Up for OpenShift if you not create any account with OpenShift. Choose Free Account only and if you have an account already than ignore this step.

2.Create Your Application

1. When you log on in your account, you see below figure like a page. Please click on Create your first application now

OpenShift Application Links First Page
OpenShift Application Links First Page

2. Choose WordPress QuickStart from the recently open page.

OpenShift QuickStart for WordPress
OpenShift QuickStart for WordPress

3. After clicking on QuickStart its start a new page where some essential settings for your QuickStart, then click on Create Application button.

Essential Setting for OpenShift QuickStart
Essential Setting for OpenShift QuickStart

It takes some time to create your blog so wait and watch. After setup, it’s open a page where you find your credentials. Just ignore it and click on Continue to the application overview page link.

Credentials for OpenShift QuickStart
Credentials for OpenShift QuickStart

4. You now able to see your blog address and storage details.

WordPress Blog URL Details
WordPress Blog URL Details

5. Open your Blog URL and its open WordPress Famous Five Minute Installation. Lets Begin.

Language Selection WordPress Installation
Language Selection WordPress Installation

Setup All Setting.

Setting For WordPress Blog
Setting For WordPress Blog

After Hitting Install WordPress Button, you see the next page where its require your login credentials for accessing your newly created WordPress Blog.

Your Blog is now Ready to Show, But What about Custome URL?

Attach Your URL In OpenShift WordPress Blog

1. Copy Your Newly Created Blog Address.

WordPress Blog Url Details
WordPress Blog Url Details

2. Go to your domain Registrar Setting Page, in my case, I am using a BigRock with CloudFlare. Add a CNAME record points to your OpenShift WordPress URL.

CNAME Settings for OpenShift Application
CNAME Settings for OpenShift Application

Then go to your application page which is illustrated in Point 1. After your blog address its a change button. Click on it. In the Domain Name field, enter your newly created domain address.

Alias for OpenShift WordPress Blog
Alias for OpenShift WordPress Blog

Open your newly created domain in the browser window and check it’s all fine or not. You see Home Page open with your Domain but Post still shows a default OpenShift domain name.

3. Go to WordPress Dashboard and select Settings >> General. Change WordPress Address(URL) and Site Address(URL) with your new domain.

Changing Domain in WordPress Setting
Changing Domain in WordPress Setting

4. Now Your Domain and Blog is Rocking.

Running WordPress Blog On OpenShift
Running WordPress Blog On OpenShift

Now you able to run full WordPress Blog on OpenShift. If you face any difficulties or have any question, please comment below. Thanks for reading and follow my Tutorial. Happy Blogging.

39 thoughts on “WordPress on OpenShift for Dummies”

  1. Hi
    i have a question- Is Openshift is better then free hosting providers? (hostinger, 000webhost).

    Because my site ZiddiEngineers.com was suspended in free hosting due to traffic limit. so is openshift is that much reliable ?

    • Shaikh Masood Alam

      Its Better than all free hosting.
      According to my stress test its handle up to 30 million hits/day with CloudFlare enabled.
      This website also running on 1 OpenShift Free Gear.

      • thanks bro !!
        you have founded wonderful solution.

  2. I’m having problem updating WordPress hosted on Openshift. If I update the code from the Admin Control Panel, the code change won’t be committed to the repo and will get lost when I push code from local repo. How do you suggest updating WordPress hosted on OpenShift? Thanks!

    • Shaikh Masood Alam

      Check my tutorial about FTP and Email settings for Openshift

  3. Another question from me… i have read your post i dont know when … but you have says that in past this site was hosted by https://byethost.com/index.php/free-hosting … as free hosting service. and they offering 50GB/month …
    so the que is how much hit/month and how much unique visors/ month is allowed .
    and also this hosting site is good enough???


    • Shaikh Masood Alam

      According to ByetHost Free Account, They not limit imposed on Hits or Visits.
      They Limit on Bandwidth.
      I try it in 2013 and is working smooth but one day I found half of my traffic goes to their affiliate page.
      After inspecting my site code, I found they inject advertisement code in my Websites.

      • ok so i have to go for blogger! no other option..
        still i luv WP. but if i got much amount of traffic i will move to WP by paid hosting.

        by the way thanks for the right info .

        • Shaikh Masood Alam

          Why you do not use OpenShift. It’s very best free hosting till date according to my experience.
          Use from 1.5 years and still not give any problem.

  4. what about website loading speed. I found that openshift takes more time to start my site. it take too much time to load my site.

    • Shaikh Masood Alam

      If no visitor in 24 hours, your server is idle. in simple it’s in sleep status. Try to generate minimum 1 click in 24 hours.
      Some of my website runs on OpenShift. This blog also hosted on OpenShift and never find any speed issue.

      • So… finally i am moving to WP

        thanks bro for helping… a special dedicated thanx by me will be a backlink in my site 🙂 of your site .

        • Shaikh Masood Alam

          Glad to hear this tutorial helps you to switch to WordPress.
          If you have any problem in setup or want a specially tested customization about OpenShift WordPress, Contact me.

  5. Shaikh Masood Alam

    For WWW you are using a CNAME.

    Check A records for crackautocad.com and points it to

    • another error 500.

      it’s my fault i have misconfigure .htacess file. is there any way to back again.


      i need to reinstall WP in new as new app

        • from where to access root directory.
          from Openshift.com?

          • Shaikh Masood Alam

            Are you setup FTP correctly, then find app-rrot, go to data then go to current.
            This directory contains your .htaccess.

  6. Bhai all work fine until i apply 3rd step.

    when i change URL in WP General setting then …. errror error and error.

    what can i do now. i have strictly followed your steps.

    • Shaikh Masood Alam

      FTP to your host current directory, open wp-config.php file and changed define('WP_DEBUG', true); to define('WP_DEBUG', false);

      • Ho gaya …. Whithout anything …

        thanks .. hope ab koi problem na aaye

        • Shaikh Masood Alam

          Changed define('WP_DEBUG', true); to define('WP_DEBUG', false); if you want to use Jetpack in your website.

          • in WP config.php or htaccess ??

            to change code ??

            • Shaikh Masood Alam

              change code in wp-config.php.
              After changing this code, your admin page is accessible through http://

      • i have already this code in my wp-config.php file

        define(‘WP_DEBUG’, getenv(‘APPLICATION_ENV’) == ‘development’ ? true : false);

        • Shaikh Masood Alam

          Sorry code is define('FORCE_SSL_ADMIN', true); to define('FORCE_SSL_ADMIN', false);

  7. Shaikh Masood Alam

    Open FTP, Login to OpenShift Repository.
    Go to app-root folder, Go to data folder, Go to current folder and find wp-config.php.
    Changed your codes.

  8. done …. after relogin … thank you very much bhaijaan

    • Shaikh Masood Alam

      your website not blacklisted, i use cloudflare so its work as firewall which is not present in your webssite.

  9. Hi, I followed to step 3 and go to WordPress Dashboard and select Settings >> General. Change WordPress Address(URL) and Site Address(URL) with your new domain. But after that I cannot reach admin page wp-admin neither by the old URL (old.com/wp-admin)or new URL(new.com/wp-admin). Any ideas?

    • Shaikh Masood Alam

      When I check your page, it’s accessible from my side.

  10. Thank You for the Info. But I have two questions:

    1. I have created my domain alias and added the CNAME record in domain DNS. But my site is working perfect without WWW. But it is not working with it. Do I have add another DNS record?

    2. I have setup my WordPress application. But I want to make edits in my theme files. Where do I find the WordPress installation directory?

  11. After installing WordPress & setting Cloudflare, everything is working fine. But when I change my “WordPress Address (URL)” & “Site Address (URL)”
    My website breaks. And every time when I try it, I have to fix it via PhpMyAdmin. Can you help me, what is causing the issue.

    • Shaikh Masood Alam

      Unable to understand your query, why you change your your URL?

      • I’m trying to change both WordPress Address (URL)” & “Site Address (URL) like you have told in this article, but my website breaks after that.
        And the WordPress backend still shows the default Openshift app URL if I don’t change both of these.

        • Shaikh Masood Alam

          Disable WordPress Force SSL in setting

Leave a Comment