How to Install WordPress with Hosting

by Lisa Rodgers on August 15, 2011

So I have a client who uses as a host and they wanted to move their blog which is currently on SiteSell (SBI) to WordPress. Seemingly an easy task, since I have installed WordPress on many other hosts. When I first installed WordPress, I had a lot of trouble finding information that pertained to the exact problems I was running into. Once I got WordPress up and running, I realized that it just wasn’t that hard to set up. Since then, I’ve seen numerous people on the WordPress forums seeking help with the same problems day in and day out. I figure this tutorial could help save a few people time and frustration.


Tools you will need to complete this task:



The web host is pretty straight forward to use for me, while it’s not as easy as Godaddy where you only have to press a few buttons to setup WordPress. If you don’t yet have a host, 1&1 has packages as low as $2.99/month that has all you need to run a website (even your own WordPress site) including your domain name. Having said that, 1&1 has their own blog that you can set up through the control panel. This blog is actually a WordPress blog, but is extremely limited in features and options. I would recommend going ahead and setting up a database and installing the real thing.

For this tutorial, I’m going to assume that your host is 1&1. You will need the Linux hosted package to have access to MySQL. The first thing we need to do is set up a database.

Log in to the Control Panel under the Domain and Web Space, first make sure you are using the right PHP version. Click Global PHP Version.


Make sure the php version is php 5. If it is php 4 change it to php 5 and click save.








Next click on MySQL Administration.



There you will click New Database:

You’ll be asked for a description for your newly created database just enter something like blog or wordpress and click Set Up. That was easy enough, eh?

It’s all up to now, they will set up a database for you. Normally, this will take just a couple of minutes, for me it took half a day. That was most likely due to the fact Mercury was retrograde, I remained patient and waited till finished it’s task.





The main screen will show you the status of your database, either setting up or ready. Once it’s in ready status, you are ready for the next step.

Next up is to download WordPress from if you have not already done so. After downloading the file you will notice it is compressed so you’ll have to have a utility to unzip the file. I used 7Zip, but you can use the software of your choice.

After you have completed the step above you will need to find the wp-config-sample.php file. This file will be located in the WordPress folder you just unzipped in the previous step (WordPress/wp-config-sample.php).

Right click on the wp-config-sample.php file and open with Notepad or Wordpad. Here you will fill in your database details from the 1&1 control panel.
Important: never use a word processor like Microsoft Word for editing WordPress files!


You will need this information:


Database Name 
Database Name used by WordPress but created by
Database Username 
Username used to access Database, infomation is located at
Database Password 
Password used by Username to access Database, also located at
Database Host 
The hostname of your Database Server, I have noticed this is usually the


You WILL need to change the host name from local host to the actual host address….that was my first error. After receiving a “no connection to database” error and several  Google searches later I realized I needed to change the localhost.


Time to add the Security Keys.


In Version 2.6, three (3) security keys, AUTH_KEY, SECURE_AUTH_KEY, and LOGGED_IN_KEY, were added to ensure better encryption of information stored in the user’s cookies. (These collectively replaced a single key introduced in Version 2.5.) In Version 2.7 a fourth key, NONCE_KEY, was added to this group. When each key was added, corresponding salts were added: AUTH_SALT, SECURE_AUTH_SALT, LOGGED_IN_SALT, and NONCE_SALT.

You don’t have to remember the keys, just make them long, random and complicated. I used the online generator. You can change these at any point in time to invalidate all existing cookies. This does mean that all users will have to login again.

Once you enter the details of your database and added the security keys, go to the top left corner of Notepad and click File, then Save As and rename the file wp-config.php. Make sure you change the filetype to all files and save this file to the same directory where you found it.

We’re almost done, you’ve already done the hardest and most confusing part of the WordPress setup. All that’s left is uploading these files to the web host WordPress will automatically set up the needed tables on your database. To upload files, I use Filezilla, which is a free program you can download from Again use the FTP software of your choice. You will need to upload all the WordPress files to whatever directory you want your blog to be in.

If you want WordPress to be your main site, you would upload the files in to the root directory (index/home/default/etc.). If you would like your blog to be part of an existing site, you would create a directory in the root and upload the files to that directory. As I mentioned above this installation was for a client that already had a website and wanted their blog outside of their main site. I decided to create a subdomain for the blog, but that is another tutorial. So I created a directory called wordpress inside the root and uploaded the files there. To create a directory with Filezilla, all you have to do is right click inside the root, and choose create directory. It’s really pretty simple.

Once you’ve uploaded the files, you’re ready to go to your website and set this thing up!

Now open your browser (Firefox, Chrome, etc.), and in the URL address field at the top, type in your site and add /wp-admin/install.php to the address (example: or depending on the directory you uploaded the files to).

From here, WordPress will lead you through the rest.

I hope this has been helpful to you getting WordPress set up. Personally, I couldnt find much information on the subject. There were plenty of tutorials, but not that explained setting up the database and how to get done what needed to be done in the 1&1 Control Panel.

Good Luck and Happy Blogging.

Previous post:

Next post: