If you read my earlier post WordPress on OpenShift for Dummies where i am teach you how to install WordPress on OpenShift.
Now I am assuming you can start blogging but hosting WordPress on OpenShift have some disadvantage like if you using custom domain on OpenShift you are unable to send Email using default WordPress Mailer and if you are really newbie to OpenShift and want to upload some files in your OpenShift instance it’s really difficult for you.
In this tutorial, I am teaching you how to send mail through OpenShift WordPress Instant and How you access you WordPress setup through FTP.
- WordPress on OpenShift for Dummies
- OpenShift WordPress: FTP And Email Settings
- How to Configure Free SSL on OpenShift WordPress For Custom Domain
FTP Settings for OpenShift WordPress
Why FTP is Important?
Many times you accidentally install a plugin which is not compatible with some essential plugin then its cause a white screen error or your website lockout. What do you do in this situation? FTP helps you to come out from this situation like delete culprit plugin.
rch setup for communicating with your OpenShift application but it’s difficult to step for a newbie to setup this using git. Using below steps, you can setup FTP in the easiest way.
1. Install Putty. Use the full Windows installer to get all features.
2. Open PuTTYgen and generate an SSH-2 RSA key with 2048 bits.
2.1. Select SSH-2 RSA.
2.2. Click on Generate button for generating your key.
2.3. If you want to comment then update comment.
2.4. Save Private Key in your computer.
2.5. At the top of the Key Generator, under Public key for pasting into OpenSSH authorized_keys file, copy the contents of the text box to the clipboard.
3. Open OpenShift settings page to add your newly generated Key.
3.1. Open OpenShift Settings Page.
3.2. Click on Add new key… button.
4. On next page, you paste your public key which is a copy in step no 2.5.
4.1. Add a Key name, it’s necessary. Use some relevant and creative name. Don’t use a name with space it’s not acceptable. Sorry for Mistake.
4.2. Paste your public key which is a copy in step no 2.5.
4.3. Click on Create button.
5. Install FileZilla. It’s a FTP client. You can use any FTP client but I am personally prefer FileZilla on other FTP clients.
6. Open your WordPress Application page which was created in the previous tutorial and look at the right side you see Source Code. Copy it and save anywhere in your computer.
7. Open FileZilla and follow steps.
7.1. Go to Edit > Settings..
7.2. Choose SFTP in Connection.
7.3. Add your key file which was saved in step no 2.4.
7.4. Successfully add your key. It’s showing your comment which updates in step no 2.3.
8. Open your Source Code. It’s like a
ssh://some [email protected] domain name/~/git/tech.git/. Add in FileZilla to communicating with your OpenShift Application.
8.1. In Hosts field add
sftp://your domain name.
8.2. In Username add your username.
8.3. Click on Quickconnect to connect with your OpenShift application.
app-root > data all your WordPress File present. current directory contains your WordPress Core File. plugins contain your installed or uninstalled plugin. themes contain all your themes. uploads contain all your uploaded file.
Now you can access your WordPress Directory with FTP.
Email Settings for OpenShift WordPress
Email is important for getting alerts from your WordPress Installation. Like you get notification if any one comments on your blog or you want to send news letter to your beloved Readers, but problem arise when you use OpenShift with custom domain WordPress unable to send emails from its default mailer. So we use WP Mail SMTP Plugin to avoid this problem.
1. Install WP Mail SMTP in your blog.
1.1. Go to
Settings > Email.
1.2. Add Default Email Address, it’s should different from your SMTP email.
1.3. Add a Name. It’s your blog name or your name.
1.4. Select Send all WordPress Email via SMTP.
1.5. Add your SMTP Host Address. Use Gmail.
1.6. Add your SMTP Port. Use Gmail SMTP Port.
1.7. Use SSL encryption if you use Gmail.
1.8. Choose Authentication Yes.
1.9. Add your Username and Password
1.10. Save Change.
1.11. After save change Send a Test Mail to your email to make sure all things work fine.
Now you are able to get and send email from OpenShift WordPress.
Are you using OpenShift for hosting a WordPress using this guide? If yes comments below or if you like this article share on your networks. Have any difficulty or comments drop in below comments box.