In today’s post, we want to take a complete guide on how you can install WordPress on a live server both manually and also using Softaculous using InMotion hosting as a case study. But before we go ahead of ourselves, let’s take a look at WordPress Overview
Brief Overview of WordPress
WordPress is the most popular and most used Content Management System on the planet today. It is been used by both individual and companies. Powering over 60 million websites around the globe, it’s sure a number one for most aspiring blogger. It was created in 2003 and since has become the best blogging platform and also used by top brands around the World. WordPress is a free open source software that can be installed on your server. Installing WordPress is not a terribly difficult task.
What’s the difference between Installing WordPress and WordPress.com
You can set up your blog at WordPress.com and have your site online. This is different than installing WordPress on your server. WordPress.com stores all the files on their server and you need to get an account with them to set it up. When you install WordPress on your server, you are bypassing WordPress.com and using your Hosting server to store the blog data. This allows you to manage the WordPress site your self without having to go through WordPress.com. The link below explains how to migrate your WordPress.com site to InMotion.
Methods to install WordPress on your server
WordPress is a free program that you can get online. There are 2 ways you can install WordPress on your server.
Install using Softaculous
Manually Installing the Software
Installing WordPress with Softaculous
For servers that have Softaculous installed in the cPanel, you can install WordPress with only a couple clicks. Softaculous will upload the files, configure the database, and set up the installation all for you without having to download any files or configure anything.
How to Install WordPress Using Softaculous
- Login into your cPanel. (usually http://www.example.com/cpanel) or log in using your hosting provided admin interface
- Go to Software section, then click on the Softaculous icon.
- Click on the WordPress logo. This will open a screen with several options to show You will see a screen with Install, Overview, Features, and Import. Click on the Install link.
- Fill in the WordPress set up information. The following is the necessary information you need to fill in.
Choose Domain: Select the Domain you want to install your WordPress on from the dropdown box.
In Directory: Leave this blank to install on the domain directly, exept you want to install on a sub directory or sub-domain e.g http://www.example.com/blog
Admin Username: Enter a username for your WordPress Dashboard login.
Admin Password: Enter whatever password you want for the Dashboard Login.
Admin email: Enter a valid email here. The system will place an invalid email here. you will need a valid one.
NOTE- If you decide that you wish to install to a subodmain, then you will need to first make sure that you have correctly created the subdomain in cPanel. The main difference is that the path will appear like this: subdomain.main_domain.com instead of like this;main_domain.com/subdomain . If the Subdomain is already created, then you will be able to select the subdomain at the Choose Domain stage of the installation. If you are trying to install it to a sub-folder that is not specified as a subdomain, then the Choose domain option should remain as the domain name that you wish to use for the installation. The In Directory option will be filled with the folder that you wish to use - as per the example above.
- Click Install.
- Softaculous will Check the submitted data and install the files to your server for WordPress..
- Click Return to Overview.Now you will see your WordPress Installation in the Current Installations.
- Visit your website in your browser. You should see a new WordPress install like the snapshot to the right.
Congratulations, now you know how to install WordPress using Softaculous!
Installing WordPress manually
You can install WordPress by downloading the files and uploading them to your server. You will need to set up a database and database user, upload the files with FTP or the File manager, and configure the config.php file on the server.
Creating a Database for WordPress
The first thing we will do is to first create the database for the WordPress file
- Log into cPanel
- Click on the Database Wizard
- Type in the database name and click “next step“
- Fill in the database user, password, and password (again)
- Click create user
- Check the box “ALL PRIVILEGES” and click “Next Step“
- Write down the Database name, Database User, and Database password
Uploading the WordPress files
- First, you’ll have to download the latest version of WordPress (Read: How to Install WordPress on Local PC)
- Login to your cPanel and click the file manager.
- Click upload at the top of the page (a new browser/tab will open)
- You should upload the zip file to the public_html folder.
- Extract the files in the ZIP file you uploaded
- Go to example.com (replacing example.com with your actual domain)
- If the installation has not completed then you should see a screen listing the languages. Select the language you wish to use and then click on Continue to proceed to the next screen.
- Fill in the Database Name, User Name, and Password that you wrote down from above
NOTE: As per the screenshot above, the Database Host is set to “localhost” by default. If this is not set as the database host, then type it in as you see it in the screenshot. The database hostname will only be different if you are connecting to a database that is not on the hosting server. By default, all InMotion Hosting databases will be coming from the local server.
- Click “Submit“
- Fill in the Site Title, Username, Password, twice, and your email
- Click “Install WordPress“
Now, when you visit your website, you’ll see the default installation of WordPress: