Installing WordPress on On-Ramp Indiana's Servers
Hello fellow ORI.NET customers! I've had many people inquire as to how we setup WordPress for On-Ramp Indiana subscribers. First, a few requirements: The user must have an FTP Client installed. If you don't have one, or don't like yours, get Filezilla-Project.org, with this Installation Video Narrated by your host Jabreity. Before we get started, I'd like to say if this is a development site, I like to add a host header with this handy tutorial so I can set up everything as it will be when the site is live. Then you simply point your DNS to On-Ramp Indiana to "go live" after development.
Now it's on to http://hc.ori.net to create your new domain or subdomain for this project. Click on the Add Domain link under Domains at the left, after login. Simply type in the domain name,
i.e. yourdomain.com and press next!
After a short Next, Next Finish, then you should get Success Page:
Next, download the latest in WordPress from www.WordPress.org. Really, throw away the rusty copy on your desktop, and get a toasty fresh version of WordPress to install. Always use a trusted copy, only from The WordPress.org Official Site, not just any website will do, as we find things like Hijacked Search Engine Links and such in non-official so-called helper installers.
Once you download that, unzip the WordPress folder, into an empty new folder. Upload the files using FileZilla FTP Client thusly, in yet another Jabreity narrated video into the yourdomain.com/www/ folder. If you miss your destination and need to delete files, check out the file and FTP management article, and come back. I'll wait right here!
So far we have Files, but no Database with which to remember your settings and pages. To create a database; in hc.ori.net, click Domains at left, select your domain name then click Properties at right. Under Domain Services tab, select Databases.
On the Database Manager page, click the Add MySql Database icon (the right Add Database Icon) fill in the values to create a MySQL Database, and a MySQL Database user / Password combination. Keep these handy, as the next step, WordPress installation requires them. Bear in mind the database name must be unique to the server, so nothing generic like WordPress! Also, the username must be fewer than 20 characters, a limitation we are working though now. Click Add Database at the bottom right to continue.
There are some caveats, so I would suggest reading this part first - print it out if you have to. Some of the tricks of the trade are to follow. It turns out WordPress is pretty clueless as to where it lives, so we add a few settings below. Using your FTP client, edit and upload the wp-config.php file, located in yourdomain.com/www/wp-config.php keeping in mind you must modify it accordingly. Edit the BOLD to reflect your settings, and if you don't see a line in there that's here, copy and paste it in.
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
/** MySQL database username */
/** MySQL database password */
/** MySQL hostname - USUALLY LOCALHOST */
define('FTP_PLUGIN_DIR ', '/wp-content/plugins');
After editing and uploading the wp-config.php you should be able to follow the instructions located at http://www.yourdomain.com/readme.html which in a nutshell ask you to create a password and finalize the WordPress installation.
After installation, you may see this error, something about "unable to locate things when trying to upload... things". That's the one. Sometimes it really is because a setting was keyed in above incorrectly. Most of the time, it means something needs adjusted, in a kind of insecure way.
In order to upload images using the built in media editor, you must give the yourdomain.com/www/wp-content/ folder proper permissions. Generally speaking, we don't ever like the website's yourdomain.com_web user to be able to edit things all willy-nilly. Since we don't like this, we provide a method to enable and disable these permissions securely. To edit permissions select Website Services at left. Expand Folders & Security, and click on Folder Manager.
To edit permissions, click on the name of the folder containing the folder or file to edit permissions on. In this case, click on the www folder, below yourdomain.com at the left side of the window. Next, select the Add/Remove Permissions button to the right of the www folder name, on the right side of the screen.
After the selection of the folder or files we want to edit permissions for, you have the permissions editor open. Here you should select yourdomain.com_web under Users, Change under Permissions, and Both(files, folders) under Inheritance. Check the Full Control box under permissions. When your settings are ready, click the Add / Change button.
This permissions setting enables your website's user to upload files to the media folder. When you are done editing your page for safety, you can remove this using the Remove button. We recommend this to prevent drive-by uploads, where someone tosses files randomly into your website, because the web user has permissions to write there. Take our word for it, you want to get in this habit. Keeps your website un-hacked.
Now, to test drive this WordPress installation file functionality, install your first extension. In this example, I clicked on Tools, Import, and selected the Blogger import module, so I could move my Blogger blog to On-Ramp Indiana's WordPress hosting. Once you click install, you will be prompted for your FTP Username and Password.
After you input the correct values, and click Proceed, it will begin the actual plugin installation procedure. If it says success, you're in luck! You have successfully installed the world's most popular blogging platform in On-Ramp Indiana's secure datacenter. Happy Blogging.