• X

    How To Manually Install WordPress Blog on any Web-Hosting

    By in WordPress

    Bluehost hosting

    Install WordPress manally How To Manually Install WordPress Blog on any Web HostingWordPress installation these days is apiece of cake. With addon script offered by your host like Fantastico, Simple script it’s hardly takes more than 2-3 minutes to get started with a  WordPress blog. Though, today we are going to learn how we can install WordPress manually. It’s always a good idea to learn WordPress manual installation, if you offer such services or using any hosting which doesn’t offer you such single click WordPress installation scripts.

    I’m not going to discus the benefits of manual WordPress installation, but as added by many expert, manual installation is more secure than installing wp using Fantastico.

    Things require to Install WordPress manually:

    We need a couple of things handy before we start with the process. So, here is the list of things, which you should be prepare with.

    • WordPress software: Download latest version of WordPress from official download page.
    • FTP Access of your hosting account
    • cPanel access to create Database and DB user and password. (In this tutorial, I’m using www.Hostgator.com as an example)
    • So I assume, you have everything ready and you have downloaded WordPress too.

    Create Database and Database User:

    I believe for non-technical user, this step is the only step where you will be getting little confused. So, follow this step by step guide and screenshot and create your first DB and associate a username and password to it. This is one setting, which we need to change in Wp-config later in this WordPress manual installation tutorial.

    Cretae MySQL Database Wizard How To Manually Install WordPress Blog on any Web Hosting

    Almost, all hosting with cPanel offers MySQL database wizard, which makes it easier. Login to your cPanel and click on MySQL database wizard under database, and create a database.

    Create Database How To Manually Install WordPress Blog on any Web Hosting Creating Database for WordPress Installation

    Create next step and give a username and password to your newly created database. My suggestion, use password generator there to create a strong and complex password.

    MYSQL Database Wizard How To Manually Install WordPress Blog on any Web Hosting User and pass for WP Database

    Once you click on Create user, next step is to give privilege to the users. On the next page, click on all privilege to newly created user and click on next step.

    Privilages to new user MYSQL How To Manually Install WordPress Blog on any Web Hosting Giving Privileges to Database user

    That’s it and you have created a database and username for your new WordPress installation. Make sure, you note down all the details: DB name, DB username and DB password in a notepad, as we will be needing it in next step.

    Complete WordPress manual Installation guide:

    So, I assume we are all set to ready and move ahead. From here, we can take 2-3 different steps to move ahead with manual installation of WordPress. You can either extract .zip file directly and edit wp-config file, as shown below and upload complete WordPress folder to root of your domain (Public_html), or you can use cPanel file manager to extract and edit the content of wp-config file. Anyways, the only step which we need here is changing the wp-config content and upload it to right folder on your FTP. You can use free FTP client like FileZilla, to do it. But to keep this tutorial simple, I will be using Web hosting cPanel. For Godaddy, the dashboard screen will change a bit, but more or less, steps are the same.

    Uploading WordPress to your cPanel:

    Now, under your cPanel, go to file manager  and upload the WordPress zip file which you have downloaded. Once you have uploaded the WordPress.zip file, click on extract and extract everything to public_html directory. (Note: it should be first WordPress installation on your cPanel). If it’s an addon domain, extract files to the directory which you have given to addon domain. Usually public_html/addon-domain name.

    To make this step simple, I’m extracting everything under public_html directory.

    Under your cPanel hosting, you can go to Files > File manager and browse to public_html directory and upload the WordPress.zip file.

    extracting Wordpress How To Manually Install WordPress Blog on any Web Hosting

    Usually, file extractor will create a directory name “WordPress’ and extract all files under it. Since we are doing installation on main domain, (www.domain.com) and not (www.domain.com/WordPress), we will move all files to directly under /public_html director by using move command. Browse to /public_html/WordPress using file manager again, select all files and click on move at the top, and move all files to public_html.

    Editing WordPress Wp-config file:

    Now, next step is to fill out the database information in Wp-config file. You can make a copy of wp-config-sample.php and rename it to wp-config.php. Now, select wp-config.php and click on edit:

    editing wp config WordPress How To Manually Install WordPress Blog on any Web Hosting

    In this file, here are couple of things which you have to change:

    // ** MySQL settings - You can get this info from your web host ** //
    /** 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');

    Now, replace database_name_here, username_here, password_here with the details which we created in step 1.

    Db_host usually remains Localhost in most of shared hosting like Blue host, Dreamhost & Hostgator. Once you have added those details, click on save changes.

    Executing WordPress Manual installer script:

    Till now, we have done all the basic settings which we need to install WordPress manually. Now, all we need to do is run the WordPress install script, give a user and password to your wp-admin and do some basic settings. Here is last thing which you need to do to have your WordPress blog up and running:

    Go to this URL:

    http://domain.com/wp-admin/install.php (replace domain.com with your actual domain name here).

    Final WordPress Manal Installaton step How To Manually Install WordPress Blog on any Web Hosting

    On the next screen, give a username and password to your WordPress installation. Try avoiding giving admin as username and use a complex password. Once everything is set, you can login to your admin dashboard by going to following link. Replace domain.com with actual domain name:

    http://domain.com/wp-admin

    Now, here are some of the basic posts and steps which you should be following to move ahead with it:

    and don’t forget to bookmark our WordPress guide, which will give you all basic guide you need to use WordPress.

    Anyhow, if you have to select between Fantastico/Simple script vs. WordPress manual install, I would suggest go for script method, which  have already explained earlier : How to install WordPress on Hostgator as it’s easy and will not take 4-5 minutes maximum. Though, some Webhosting companies doesn’t offer cPanel (What a shame!), in that case you can consider using this WordPress manual installation guide.

    Incase, if for some reasons you can’t install WordPress manually and stuck at some point, feel free to ask via comment.

    Subscribe to Download WordPress Guide Worth $99

    Discover more awesome articles

    Article by

    Harsh has written 1124 articles.

    If you like This post, you can follow ShoutMeLoud on Twitter. Subscribe to Blogging tips via RSS or EMAIL to receive instant updates.

    { 10 comments… read them below or add one }

    Sumanth

    i think it is the same thing we do when we try to install wordpress on the localhost..anyways i guess it will surely help newbies who are trying free hosting where wordpress installer might be absent….

    Reply

    Sameer

    Cool.. Thats an awesome tutorial.. It almost solved all my problems related to wordpress registration and setup..

    Reply

    siddharth shankar

    how to install wordpress on vps.net cloud server? have u any screenshots please

    Reply

    DHost

    Generally these days all the hosting provide has an inbuilt 1-click script installer which is very much helpful. And made the wordpress and many other blog script installation just a click away. Still it good for newbie who wants to learn more into wordpress manual installation.

    @Harsh as there is no 1-click installation available in windows hosting, it will be helpful for windows hosting user if you can guide them the manual installation using windows control panel like: Plesk, WebsitePanel etc.

    Reply

    WpSavers

    I always use Fantastico to install wordpress for any new installation, however installing it manually is also quite interesting… will give it a try on the next one.. Thanks for the share :)

    Reply

    Rafaqat

    inspiring tutorial,i want to transfer from one host to another,kindly tell me should i have to install a new word press on the next host..? what kind of backups should i take into account..? and will i have to reinstall all plugins again in my new hosting,plz.

    Reply

    Valerie Adler

    Hi Harsh, thanks for the great post on WPRoller. Question, can I make use of the WPRoller zip file AFTER using the 1-click install on my cloud server. I don’t want to do the whole thing manually if I don’t have to; ideally I’d just like to use 1-click install, then go to wherever in the File Manager and load/unzip that file. Can I do that? Many thanks for your time…Valerie

    Reply

    Nishant

    Thanks Harsh,
    I too always prefer manual method as it helps us to understand the actual steps that take place to implement particular process.

    Reply

    Valerie Adler

    Hiya, just got to grips with this and it works like a charm! Thanks for great instructions…I can now install my standard WP setup with my WP Roller “rollup” and it’s FAST. One question, though, does the install.php file present a security risk after installation…should I remove it?

    Reply

    Sudipto

    I have always preferred manual methods because it really makes much more sense in the installation. Thank you Harsh.

    Reply

    Leave a Comment

    Previous post:

    Next post:

    `