Installing WordPress Using An FTP Client

I have previously written about how to install WordPress directly using a online installer like Softaculous. But some hosts do not provide installers, so in that case you can just upload the WordPress package using FTP Client.

First of all, you will need the WordPress package. Go to wordpress.org and download the package. Click on ‘Download WordPress’ which will take you to the download page. Here choose the .zip version and download it. Its basically a big blue button with some version number. (eg. Download WordPress 3.6 .zip – 4.3mb).

#1. Extract the downloaded zip using Winrar or any suitable program. Open the extracted folder where you can find folders like wp-admin, wp-content, wp-includes and files like wp-activate, wp-settings, etc.

#2. Open FileZilla and establish a connection to your server. Once you are connected. Open the www folder in FileZilla remote directory.

#3. Select all the extracted files as shown below –

WordPress Installation Files

#4. Now drag-n-drop these files into the www folder of the Filezilla remote directory. This will initiate file upload. It will take a while to upload all these files. Once file upload is done, move to the next step.

#5. Go to yourdomain.com/wp-admin/install.php and follow the installation procedure. Its almost the same as installing WordPress on WAMP Server.

#6. You’ll be asked to enter database information. Here you need to enter MySQL database name, username and password. Keep the rest as it is.

#7. Once database information is set, you’ll be asked to enter site name, description, admin username and password, etc. Just finish the installation process.

#8. After completing installation, you can login to WordPress administrators dashboard by visiting yourdomain.com/wp-admin

Adding User To MySQL Database In Linux Hosting

In the previous post, I have written about creating a MySQL database using control panel in linux hosting. Now lets see how to add users to the newly created database.

Here, two steps are involved. First is creating the user and second is adding the user to the database. So lets see how to do that.

#1. Creating MySQL User

  1. Login to your webhosting account.
  2. Go to control panel (cPanel).
  3. Select MySQL Databases
  4. Scroll down to MySQL Users
  5. Type in the desired username and password in the input form.
  6. And click on create user.
  7. This will create a new MySQL user.

But not that, this newly created MySQL user has no access to any MySQL database. So to associate this MySQL user to any database you’ll need to follow step 2.

MySQL Database

#2. Adding MySQL User To MySQL Database

Once you create a new user, stay on the same page and scroll down. You can see Add User To Database option. This is where you will have to select the User and select the Database from a drop down menu. After selecting the user and database, just click on Add button and you are good to go.

You can now use this newly created database for installing WordPress, Joomla, etc.

Creating New Database Using MySQL In Linux Hosting

In this post, I’ll be talking about how to create a MySQL database in Linux Web Hosting. This is actually very simple. First of all, login to your hosting account and open the control panel (cPanel).

In cPanel, navigate or scroll down to the databases section. Here select the MySQL databases option. And rest you can figure it out yourself. But if you can’t, then continue reading..

You can find a box which says ‘Create New Database‘. All you need to do over here is just enter the name of the database. And hit the ‘Create Database‘ Button.

Your database will be created. You can now use this database for WordPress, Joomla, etc. But you’ll need to add users to the newly created database. In the next post we’ll see how to add users to the MySQL database.

Uploading Files To The Server Using An FTP Client

In this post, i’ll talk about how to use an FTP Client to upload files to the web server. FTP is File Transfer Protocol. For uploading files to the web server, you will need an FTP Client. I’ll recommend FileZilla. Its tiny and easy to use. You can download FileZilla FTP Client from their official website and install it on your computer.

Now you will need the FTP details of your web host. You must have received these details in an email sent to you after purchasing the web hosting.

I have received the e-mail as shown below. This will give you an idea of what you exactly need to connect using an FTP Client.

FTP Details BIGROCK

Connecting To The Server

  • If you have the FTP details, just go ahead and open the FileZilla Client.
  • Click on File > Site Manager.
  • Click on New Site.

Site Manager FileZilla

  • Enter IP address (which you received in email) in Host details. Or you can simply type in ftp.yourdomain.com as i have done in the screenshot above.
  • Enter port as 21.
  • In Server Type, try FTP, FTPS or FTPES. Check which one works out for you.
  • Enter the username and password which you received in the email.
  • And click on Connect.

If connection is established then well and good. If not, just put the error message in comments below and i’ll try to help you out.

Uploading Files

Once Connection is established, you can find a list of folders like mail, public_ftp, public_html, tmp, www, etc. All you need to know right now is that www is the folder where you will upload all the contents of your website.

To upload any file, just drag and drop that file over that folder. Or you can open the folder first and then drag-drop the file inside the folder. This will initiate the file upload.

For example, if you upload xyz.png to www folder. It can be found at yourdomain.com/xyz.png and thus www is the root directory of your website.

Installing WordPress On The Web Host

In the previous post, I have written about purchasing domain and web hosting from BigRock. Now lets see how to install WordPress on the server which you have purchased. And note that, I am using BigRock’s hosting as an example. But you can follow this for almost every other host.

Once you purchase linux hosting with a new domain, your account will be setup in 24 hours. Once its done, just login to your hosting account.

List Of Orders - Big Rock

After logging in, click on the domain name of the product named Web Services. Now scroll down to the Web Hosting part and click on Manage Web Hosting. This will open up the Control Panel (cPanel).

BigRock Web Hosting cPanel

In Softaculous app installer, click on WordPress. You’ll be taken to the installation page. Click on install button and now you’ll be asked to enter the details of the installation.

Installing WordPress Using Softaculous Installer

  1. Choose the Protocol as HTTP.
  2. Choose domain as your Domain Name. (I have chosen codefap.com)
  3. Leave the ‘In Directory‘ empty, so the installation will be in the root folder (domain.com) instead of sub folder (domain.com/wordpress).
  4. Leave the Database name and table prefix as it is.
  5. Just go ahead and enter the site name and description.
  6. Enter the admin username, password and email address. This will be the user account which you can use to administrate the blog. Basically this is blog owner’s account.
  7. Once WordPress is installed you can simply goto yourdomain.com/wp-admin and login using the username and password which you have set previously.
  8. That’s it. You are now ready to go.

Softaculous WordPress Installation Linux Bigrock

Note that, If your host does not support an online installer then you will need to upload the WordPress package using an FTP Client. I’ll talk about that in the next post.

Getting the Domain and Web Hosting For WordPress

I am writing this post as a base for the upcoming series of WordPress Tutorial. Many people have been asking me about how to create a WordPress blog. So i have decided to write a complete tutorial for beginners.

Note that, WordPress.com and WordPress.org are very different from each other. The .com version is wordpress hosted blog whereas .org is a package which you can use to create a self hosted blog.

To create a self hosted blog, you basically need two things – the domain and the web hosting. And there are many companies which provide cheap and reliable web hosting. But its not that easy, there are cheaters and oversellers. So the question is, how to choose a good web host?

After having an year of experience, I would recommend BigRock. Its good, reliable and cheap as compared to other biggies out there.

Purchasing Hosting and Domain

I’ll show you how to purchase hosting package and domain from BigRock India. Note that, the procedure is 99% same on every other hosting site. So you can follow this post, even if you decide to purchase hosting and domain from other host.

#1. Go to Bigrock.in and Click on Get Hosting > Linux Hosting. Note that, by selecting Linux or Windows hosting, you are not interacting with the OS directly. Instead you will get a control panel and trust me, CP in Linux is easier.

#2. Choose the suitable hosting plan. I would recommend Linux Advanced Plan for beginners who plan to grow fast. But if you are planning for a small static website or blog, then go with Starter Plan.

BigRock India Plans

#3. After selecting the desired plan, select the duration and click on Add this plan button. Where you’ll be asked to select a domain name or enter an existing domain.

#4. I assume you are creating a whole new site, so enter a new domain name and click on Search button. If the domain is available, click on add or else select other domain.

#5. And click on checkout button. Here you can enter a coupon code to get discount. You can use my domain name (codefap.com) as a coupon code to get 25% discount.

#6. Now just complete the purchase and place the order by registering your account. You will then get e-mails about your registration details. Just keep these e-mails safe. You’ll need them to setup your site.

In the next post we will see – How to install WordPress on the hosting server which you just purchased.