WP_setup894x372-3

Setting up WordPress (.org) with a Shared Hosted Provider

So you want to start a website or Blog? There are so many solutions out there. CMS’s (Content Management Systems), and lots of simpler website builders.

In this tutorial I will show you how to easily set-up a genuine WordPress site (on a host server), with access to all the thousands of plug-ins and themes that make it so famous.

WordPress sites offer excellent flexibility and control that many first timers seem to overlook. Wikipedia, reports that over 60 million websites and Blogs use WordPress (.com and .org). That astounding number seems to confirm that WordPress is number one.

Find a Host for your new WordPress site

There are too many web hosts out there to mention them all, but here is a link that lists some of the popular ones.

There are different hosting options like Shared, Dedicated, and Managed, depending on the host provider. It all come down to speed and security, like how fast your pages will load on the internet, and protection against hackers.

With Shared hosting, you ‘share’ your space with other websites. This is not a problem until your web traffic becomes too big for the host’s processors to handle. You can alleviate this by moving to Dedicated or Managed hosting. And you can easily change hosts after a wordpress install, if you don’t like your host for any reason.

Setting up a basic WordPress install

For an excellent video tutorial on setting up shared hosting with WordPress check this link. This is what I used in setting up my WordPress. Just sign up for a free 30 day trial to access that tutorial and all the wordpress video tutorials they have.

Since I won’t go into all the details of using WordPress to publish your posts here, I will just touch on the basics on how to setup and create a new database with your host.

Note: If you have problems read the official instructions here at WordPress.org.

Watch the Video First

 

1.) Download WordPress here. Then unzip it in a new folder on your computer.

 

2.) Select your host server (I used GoDaddy). Purchase your choice of hosting with a new domain name, or enter your registered domain name. The one I chose was Shared Hosting, with Linux Cpanel (recommended). Check for the best deals for a 12 month package. I got mine for $3.99 per month for 12 months.

Bluehost, GoDaddy, IdeaHost

 

3.) Setup your Cpanel account (or whatever hosting account you chose like Plesk or Windows).

– create a username

– create a password

– SAVE these to a text file on your computer like below:

CPANEL LOGIN:
cPanel username: yourusername
cPanel password: yourpassword

4.) Setup your database with your host (search Cpanel for sql-database).

– You will need a name like MYdatabaseWP (make it a unique for security purposes).

– And a username (you can use the same database name)

– Create a good password like sjwBV*tYe@E+w?i (again make it unique). The host will usually have an auto password generator for you to use.

– SAVE to a text file on your computer like you see below:

DATABASE LOGIN:
database name: yourdatabasename
username: yourusername
password: yourpassword

5.) Upload the unzipped wordpress folder files to your database.

– For this you need an FTP program like Filezilla.

– Download it and install it. Enter your new website name in the Host entry, Enter your hosting account (Cpanel) Username and Password. Then click Quickconnect.

 

– To get to the root of your host database you created. Scroll down to public_html. Double click that folder and this is where you can upload all your wordpress files. There will be a few files the host keeps in the public_html folder.

 

– For a basic wordpress install, just drag your unzipped WordPress folder files from your computer (open and group select them and drag over) into the public_html folder in Filezilla. It may take a while to upload all files, but after it is done you will see all your wordpress files in this directory shown below:

NOTE: After the uploading is finished, check if any files failed, group select them, and drag them back in to the public_html folder. Make sure the Failed Transfers area is empty. If it is not, continue to get them uploaded, or your wordpress may become corrupt.

 

6). Log in to WordPress for the first time (Famous 5-Minute Setup)

– Go to your browser and type your domain name in the address bar and enter. If all went as discussed above, then you should land on the ‘5 minute setup’ page below.

 

– Enter your database name you created and saved.

– Enter your database username.

– Enter database password.

– Usually you can leave Database Host as it is.

– Change the table prefix to your own unique prefix. This is important because hackers always look for the ‘wp_’ prefix if they get in to your database. Just a simple way to add more security to your WordPress site. Save your prefix on your computer.

– Click Submit … you will land on another page below.

 

– Enter a site title for your website like ‘mybeta’

– Enter a strong username.

– Enter a strong password.

– Enter an email that wordpress can contact you at.

– For now you can uncheck Privacy so your beta site is not indexed on search engines. You can change this in your WordPress site later.

– SAVE site title, username, password and email to a TEXT file like below. Fill things in and save to your computer.

WORDPRESS LOGIN:
site title: yourtitle
username: yourusername
password: yourpassword
email: youremail

– Click Install WordPress.

– If you did things correctly, you will get to a login page below:

Use your Word Press login info you saved.

Now every time you login to your WP site, you have to append /wp-admin/ to your site domain name. Example below:

 http://www.yourwebsite.com/wp-admin/

And you will get to this login page.

 

Security

  • It is very important to use strong passwords during your WordPress set up to make it as hard as possible for hackers to get in.
  • As well as making a unique table prefix in the setup.
  • Besides that, make sure the ‘ Authentication Keys ‘ of the wp-config.php in the root of your site, are unique. If you need to change this, it can be done automatically by the link in the wp-config file. This will generate unique phrases of text for encryption, making your site harder to hack in.
  • Example below has excellent encryption. Make sure you check if this was not done during the setup process. Below is an example only… do not use it.
define('AUTH_KEY',         'H7-+w8Q-=O|`%VyI,(^1)+zx2`u^E1hEv#');
define('SECURE_AUTH_KEY',  '+a^iJk>kiZ>^)*9BEi5f,bcE0B_IkF,K~f');
define('LOGGED_IN_KEY',    'sJ>R63B;36F6pVN2mz4 V5ML:Lu nKe+M9');
define('NONCE_KEY',        'uEh`BlO^yybi-+#Nu^vL8 ~6J=/((li*VM');
define('AUTH_SALT',        'x+dyU=iS:W rH[}XARbWRk]K,>o@5GNq ;');
define('SECURE_AUTH_SALT', '/Dxz7P=XR.w|oYL5.)ybCH}]y/b!gsl3dE');
define('NONCE_SALT',       '+7-jR*-,DgB{.@cvW;i$|V^WAm%e;7ePw@');

Spam

Your WordPress comments section will be inundated with spam as soon as you go public. You need a spam filter plugin to prevent this. I totally recommend the Akismet plugin to stop all spam in your comment box.

Backups

You need to make backups (at least once a month) of your WordPress files, from your host server just in case the data is compromised by hackers or is deleted. Here are the main things to backup:

  1. WP database
  2. wp-content folder
  3. wp-config file
  4. htaccess file

You can do this manually, but an easier solution is to use a plugin. For a basic backup system, get a free DropBox account and install the Plugin WordPress Backup to Dropbox. Check the video tutorial at lynda.com for details on setting this up.

Trouble Shooting

Note: if things did not go right, and you cannot login, or see any errors, there are a couple of things to take a look at.

1.) First is to use Filezilla to get to your installed WordPress files.

  • You need to see if a ‘ wp-config.php ‘ file was created when you went through the installation process.
  • If you see it, you need to open it and see if your database information is there. If not, see below for details on how to input your database info.
  • If you do not see it, you can create it by going to your original ‘ wp-config-sample.php ‘ file on your computer where you unzipped your WordPress files.
  • Open this file in a word processor or use the program Notepad++ (plain text editors will not display the text properly).
  • You will see the lines below in this file. Just replace database_name_here , username_here , password_here , and localhost with the data from your saved text files.
/** The name of the database for WordPress */
define('DB_NAME', 'database_name_here');

/** MySQL database username */
define('DB_USER', 'username_here');

/** MySQL database password */
define('DB_PASSWORD', 'password_here');

/** MySQL hostname */
define('DB_HOST', 'localhost');
  • Once you did that, go to Save As in your text editor, and save it as wp-config.php
  • Now through FTP (FileZilla), drag the new wp-config.php file into the public_html folder.
  • Now go back and try to log into your site again.

2.) If things are really messed up:

  • All you have to do is go back to your database and delete it, then create a new database of the same name, and follow steps 4, 5, and 6 again.
  • Note: If you are still having problems, check the official Installing WordPress guide. If you want more information, start a free trial with lynda.com to watch the excellent WordPress videos. Also make a comment to me and I will see if I can help.

That  is as far as I will go in this tutorial. Make sure you watch the companion YouTube video if you find this a bit over whelming. In upcoming WordPress tutorials  I will start covering how to use WordPress to create an outstanding blog or website. For now experiment with making posts and publishing them privately or publicly online. Good Luck!!!

If you like this tutorial please share: 

Leave a Reply

Your email address will not be published. Required fields are marked *