Please disable ad blocker to see the page.

How to install WordPress on your server - step by step guide

WordPress is a most popular platform for blogging. If you have some basic knowledge of website and database then it is too easy to install WordPress on your hosting server. I am writing some steps for you to install WordPress with ease.

If you want to install WordPress manually via FTP, here is the step by step guide for your help. 

Step 1) Requirement: There are a few requirements to install WordPress, so let's make a list of them before installation:

 1.1) Hosting control panel (cPanel) login: You can get it from hosting provider.

Cpanel login to install WordPress

 1.2) FTP login: Once you've got cPanel login,  you can create FTP login via cPanel.

Create FTP to upload WordPress


 1.3) Mysql Database access: You can create a database login via cPanel, check step 3

Now if you have these three details, then we can go to the next step.

Step 2) Download WordPress latest version from wordpress.org.

Download WordPress


Step 3) You will get WordPress files in a zip format so you need to Extract the zip file. First save this zip file in a separate folder so you can recognize it easily. Now Select the zip file, right-click and then click on "extract here", now you will get a WordPress folder.


Extract wordpress file



Extract zip folder


WordPress setup folder


Step 4) Now if you want to install WordPress to your hosting server, upload all WordPress files to the root folder on the server, mostly the root folder path is /home or /public_folder. If you want to install WordPress in a subfolder of existing website like http://www.yourwebsite.com/blog, create a folder with the name "blog" and upload all WordPress files to this folder via FTP.

Here I am using Filezilla to upload, you can use any FTP client to upload files.

Open FTP client on your computer, click on "site manager" under the file menu on the top , select "my site" at the right of  "site manager" and then click on "New site" to create a connection with the server.


FTP connection to upload WordPress


Fill the box at the left side of "site manager" - Enter FTP host address in the box of Host. Select "Logon type" to normal.  Enter the FTP username in the user box and FTP password in the Password box.



Connection to upload WordPress

Then click on connect.
Connect FTP to install WordPress

Now select all WordPress files, do right-click and then click on "upload" to start uploading to the root folder or subfolder "blog".
Upload WordPress files


Step 5) Create database from your hosting panel, follow the steps below to create a database.

 5.1) Login to your hosting control panel
 5.2) Click on Mysql database wizard
Create MySql database to install WordPress

 5.3) Enter a database name and click on next
Database name for WordPress

 5.4) Create user for the database, enter username in the box, enter the password (it should be at least 5 characters long and contain alphanumeric to make it strong for security) you need to enter the password twice then click on "create user" button.
Database user for WordPress

 5.5) On the next page, you will need to give all permissions to the user for the database. Select  "All PRIVILEGES" then click on "next step" button.
Access to WordPress database user

 5.6) All done. Now Note down the details you have entered - database name, database username, database password and host name (you will get this on the last page as shown below after the above step).


Hostname for WordPress database


Step 6) It is a final step to install WordPress

 6.1) Open a web browser on your PC, you can use any browser such as Firefox, Chrome, IE  etc.
  • If you have uploaded the WordPress files in the root folder, you need to open http://www.yourwebsite.com/
  • If you have uploaded the WordPress files in a subfolder "blog" then you need to open http://www.yourwebsite.com/blog/
 When you open any of the above URLs in a browser, you will get a page to create a  configuration file (wp-config.php).

 Click on "Create a configuration file" to proceed.

Configuration file to install WordPress


 When you will click on "create a configuration file", it will create wp-config.php file automatically. Also, it will take you to the next page. We don't need to do anything here, just  click on "Let's go" button.


Next step to install WordPress

 You will see the installation page as shown below, here you need to enter the database details.
Database details to install WordPress

On the above page, you need to enter the below details which you have created in step 4.

  •  Database name: Name of the database
  •  Username: Database username
  •  Password: Database password
  •  Database Host: In most cases it is localhost, if not please check your hosting panel for the database host.
  •  Table prefix: It is optional

 After filling the above details, click on "Submit button".

 6.2) After submitting, you will get the page as shown below, now on this page you will be asked  to run the install, click on "Run the install" button to go.
WordPress installation wizard

 On Next page, you need to enter the basic details for your website like:

  •  Site title: Enter your website title whatever you want to add
  •  Username: This will be your WordPress admin username
  •  Password: Enter password for WordPress admin
  •  Your Email: Enter your email address
  •  Privacy: optional

 Now, after filling the details, click on install WordPress button.


WordPress Websites details


 And finally you will on the success page.


WordPress admin login


Notes: If you get an error while installing, please repeat the 5th step. Basically, there are 3 reasons for error:

1) Database server is down -  If the database is not running or you have entered the wrong database details you will get an error page.

  • Check database login details again.
  • Check the hostname.
  • Check if database is running or it is down.




WordPress installation error page

2) Configuration file not found - Some time wizard is unable to create wp-config file or it doesn't find the file, so we have to create it manually to install WordPress. It is easy, but it needs manual work to create. Search wp-config-sample.php file inside WordPress folder, copy this file and rename it to wp-config.php.

3) Access credential is wrong - This is also same as the first case and it need to check database login information.

All in all,  I have explained a common and easy method for WordPress installation on your host.

If you have any query, please leave a comment here.

First
0 Comment