
I think blogging is best way to speak to a large audience in well-defined way. There are only two most popular blogging platform are WordPress & Blogger. Both platforms provide a wide range of editing & modification so both are my favorite blogging platforms. Both have some advantages & disadvantages over each other which I post in my next article.
I found most paid web hosting providers are powered by Cpanel which provide Softaculous by default. Softaculous is a web application which contains 1-click installation of popular web application like Wordpress, Opencart, etc. It installs web application filling simple form.
But some paid or free web hosting provider does not provide 1-click installer. In that case, we need to setup web application by ourselves. Following steps are needed to install WordPress on your web server easily:-
1. First step is to download the fresh copy of latest version of WordPress which can be downloaded from its official site. Latest version is free from vulnerabilities, which is basic step securing your web application (WordPress) from hackers.
2. I am much sure that every web hosting provider gives ftp support even you host on free hosting. We need ftp access software to upload web application over server. I recommend downloading FileZilla ftp client for uploading WordPress files (web application).
3. Extract WordPress downloaded zip or tar.gz file setup into a folder. Open that folder & rename file ‘wp-config-sample.php’ to ‘wp-config.php’.
4. Now open renamed file ’wp-config.php’ with WordPad or notepad for filling server & database information in it
5. Find following lines in ‘wp-config.php’:-
define('DB_NAME', 'database_name_here');
define('DB_USER', 'username_here');
define('DB_PASSWORD', 'password_here');
define('DB_HOST', 'localhost');
You are required to create a MySQL database on server. Open your server control panel, go to MySQL databases, create database with any database name, any database username & random password. Fill above configuration with created database name, username & password. Put your MySQL server url instead of ‘localhost’ for e.g. it can be ‘mysql.yoursite.com’. After filling this information save configuration file in the WordPress setup containing folder.
6. Now it’s time to upload WordPress setup on website via ftp. Open FileZilla ftp client type your ftp host name ftp username & ftp password. Default port for connecting server is 21 & some server supports sftp(‘s’ stands for secured) which need port 22. ftp host name username & password is provided by web hosting provider after registration of website. If this information is lost, you can easily found this information on website control panel. Now click connect button, if everything is good it is connected & you can see public html folder where site is uploaded.
7. If you want to install WordPress at root directory then upload all files inside WordPress folder into public html. If you want to upload in a sub-directory then create a folder in public html & upload all files WordPress folder into that folder. If you uploaded your website at ‘public html/blog’ then website can be accessed as,
http://your-domain.com/blog
8. Now, installation of WordPress is setup can be started by typing following in your browser,
http://your-domain.com/wp-admin/install.php
http://your-domain.com/blog/wp-admin/install.php (when installed in sub-directory name ‘/blog’)
9. If MySQL database, username, password & host name is correct it will connected to MySQL server & installation is successful. If databases are successfully connected ‘install.php’ is opened & need information about blog name, administrator username, password, and administrator email, etc. fill that information & click on install.
10. Now your WordPress is completed, you can access admin account by typing,
http://your-domain.com/wp-admin
http://your-domain.com/blog/wp-admin
Post your questions in comment box.
Comments
Post a Comment