Spiga

How to install Wordpress on 000Webhost

000Webhost is the best free hosting service which offers free domain name and a lot of other features including the installation of powerful scripts e.g Wordpress, Drupal, Joomla etc. Installing Wordpress on 000webhost is not that difficult and can be done within 10 minutes. I will guide you step by step procedure of installing it.
Step 1: Download latest version of Wordpress from www.wordpress.org and open the zip folder of Wordpress that you have downloaded. Now find the file “wp-config-sample.php” and rename it to “wp-config.php”.
Step 2: Login to your 000webhost account and go to Cpanel. Now click on MySql and create a new data base there. Use “wp” for host and “admin” for username and type the password you want. Now click proceed and note down all the data that appears in a box including host name, user name etc.
Step 3: Open the file “wp-config.php” from the wordpress zipped folder with notepad and edit it. Find the following texts and replace them with the data you write down in step2 from your MySql data base.

// ** MySQL settings – You can get this info from your web host ** //
/** The name of the database for WordPress */
define(‘DB_NAME’, ‘putyourdbnamehere’);

/** MySQL database username */
define(‘DB_USER’, ‘usernamehere’);

/** MySQL database password */
define(‘DB_PASSWORD’, ‘yourpasswordhere’);

/** MySQL hostname */
define(‘DB_HOST’, ‘localhost’);

Replace the bolded text with the one that you got from MySql data base. Change Localhost to mysql2.000webhost.com.

Step 4: Now go to the Cpanel of 000webhost and click on file manager. Now click on upload link and browse the wordpress zipped folder. Now click on the green tick. After few minute all the files will be uploaded.
Step 5: Now open your domain url like www.yoursite.com/wp-admin/install.php. There will appear wordpress page and you will complete the installation after selecting site title etc.

3 comments:

  Tardy

May 20, 2011 at 8:08 AM

Hi there!

I've followed all your steps here, but now when I click on my site (www.yourcallisimportant.co.uk) it takes me to a page from which I cannot log in to wordpress. (It takes me straight back to 000webhost.) Any idea what I've done wrong here?

Thanks

Tardy

  Indianmedicoz

February 11, 2012 at 10:04 AM

Thanks
it worked

  --S@meer@--

April 23, 2012 at 11:07 AM

password should be mysql12.000webhost.com not mysql2.000webhost.com