• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Install WordPress on Free OpenShift with Domain Name

By Abhishek Ghosh May 5, 2015 7:22 pm Updated on May 5, 2015

Install WordPress on Free OpenShift with Domain Name

Advertisement

With only $10 For a Domain Name, You Can Install WordPress on Free OpenShift with Domain Name For Running Personal Blog or a Specific Purpose Website. Cost is Zero for Hosting. We can use 3 Gears – one for web server, one for memcache or syncing with web server and another for database – scalable setup, each of 1 GB. If you use Rackspace Cloud Files as CDN, monthly cost will be only $1.00. It is far better than your shared hosting options.

 

Install WordPress on Free OpenShift : The Domain Name Part

 

You will use a dot com or whatever domain name you want and use the www subdomain of the domain to install WordPress. People does the basic mistake – they first install the WordPress on OpenShift and then point the DNS. You need these things all together :

 

  1. An OpenShift Account (Free)
  2. A CloudFlare Account (Free too)
  3. A domain Name
  4. Free IP from wwwizer.com

You have no IP address, this guide not without reason is named Install WordPress on Free OpenShift with Domain Name. When you create the first application, you actually get this kind of url – https://shell-abhishekghosh.rhcloud.com. How to use that is written on this guide.

Advertisement

---

Yes, you can change the URLs later, but the sequence is important. If you first create a plain PHP App, you will actually get the subdomain name. Later you can install WordPress after pointing the CNAME towards it.

Now you need an IP address. We wrote about naked domain pointing. What you will do is that, you will use this free service – http://wwwizer.com/naked-domain-redirect, their IP is 174.129.25.170. No sign up. Free. On CloudFlare, if your domain name is example.com and app domain is shell-abhishekghosh.rhcloud.com, then you will setup in this way on CloudFlare :

Vim
1
2
A Record example.com 174.129.25.170 (Some Low TTL)
www CNAME shell-abhishekghosh.rhcloud.com (Some Low TTL)

Add the CloudFlare’s name-servers at your domain register’s account. Then on CloudFlare’s Page Rules, add 301 redirect to example.com towards www.example.com with redirect match. Allow some time, things will start working.

Install WordPress on Free OpenShift with Domain Name

 

Install WordPress on Free OpenShift with Domain Name

 

Now, from OpenShift’s account; first re-create the installation as WordPress with scalable option – MySQL database will be on different server. You can have PHPMyAdmin. No command line work. You can make it more scalable later. What we said is easy, official method.

As there is by no means you are installing the WordPress; it is readymade; you need to do some tricks. First, login to WordPress and go to : Settings > General and change the Site Address (URL) to your domain name (http://www.example.com). Also change the WordPress Address (URL) in the same way.

Now, keep that webpage open. Go to OpenShift dashboard and select your app then click the “Change” button next to the domain name and update the OpenShift domain name (shell-abhishekghosh.rhcloud.com for us) to your own domain (http://www.example.com in example). Then save it.

Now, your WordPress is located at http://www.example.com. There is a Plugin named Search and Replace. Install it from WordPress Plugin’s page and search for the OpenShift domain name (shell-abhishekghosh.rhcloud.com for us) and change anything to your own domain (http://www.example.com in example).

OpenShift now has recently added support to allow the applications to be hosted at own domain names rather than as a subdomain of rhcloud.com. You need to install OpenShift CLI tool. You can actually run this kind of command after changing the right values :

Vim
1
rhc-ctl-app -c add-alias --alias www.example.com -a shell

shell is the app name of shell-abhishekghosh.rhcloud.com, change it.

Now, git clone the App, and run :

Vim
1
cd $app_dir

We need to do some work, first cat this one :

Vim
1
cat .openshift/action_hooks/build | grep mkdir $OPENSHIFT_DATA_DIR/uploads

It should return nothing. If returns nothing then edit this file – .openshift/action_hooks/build to add :

Vim
1
2
3
if [ ! -d $OPENSHIFT_DATA_DIR/uploads ]; then
    mkdir $OPENSHIFT_DATA_DIR/uploads
fi

Now we need to symlink the wp-content :

Vim
1
ln -sf $OPENSHIFT_DATA_DIR/uploads $OPENSHIFT_REPO_DIR/php/wp-content/

git push it. There are plugins to edit .htaccess files. Install some such via WordPress interface and activate pretty permalink.

Vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Options All -Indexes
<files .htaccess>
    order allow,deny
    deny from all
</files>
 
<files wp-config.php>
    order allow,deny
    deny from all
</files>
 
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

Add the things which are not present. This is the complete setup. Obviously, there will minute glitches but it is far superior than anything at that budget. Heroic is great but Heroku can be difficult to many users.

Tagged With political cartoon

This Article Has Been Shared 813 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Install WordPress on Free OpenShift with Domain Name

  • Cloud Computing 3D Rendering And Scope In Film Industry

    Cloud Computing 3D Rendering Has Definite Scope in Film Industry which might alarm the Stars of tomorrow and relieve the Producers investing in the Films.

  • How Cloud Computing Challenge The Networks

    How Cloud Computing Challenge Networks with virtually unlimited storage and computing capacity, reduced cost and maximum flexibility and massive data traffic.

  • PubSubHubbub and Rackspace Cloud Queue

    PubSubHubbub is a networking protocol. Rackspace is Open Source but infamous for difficult to understand API documentation by normal human.

  • How to Upload Backup to Dropbox from Cloud Server

    Here is How to Upload Backup to Dropbox from Cloud Server in Case You Want To Keep Your Backup of Files and Database on a Free Cloud Storage.

  • Install Nginx PHP5-FPM on HP Cloud

    Here is How To Install Nginx PHP5-FPM on HP Cloud. HP Cloud means HP Helion Public Cloud. It is basically very easy to work with HP Cloud. People fear HP Helion Public Cloud very much. The basic reason possibly is not understanding the basics of Security Group Rules. So, you need to read our previous […]

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Zebronics Pixaplay 16 : Entry Level Movie Projector Review February 2, 2023
  • What is Voice User Interface (VUI) January 31, 2023
  • Proxy Server: Design Pattern in Programming January 30, 2023
  • Cyberpunk Aesthetics: What’s in it Special January 27, 2023
  • How to Do Electrical Layout Plan for Adding Smart Switches January 26, 2023

About This Article

Cite this article as: Abhishek Ghosh, "Install WordPress on Free OpenShift with Domain Name," in The Customize Windows, May 5, 2015, February 3, 2023, https://thecustomizewindows.com/2015/05/install-wordpress-on-openshift-with-domain-name/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT