How to Setup WordPress Blog at Local Host on PC?

Setup WordPress Blog at Localhost - Windows, Linux Cent OS and Mac OS X

Since Google’s blogger platform for blogging is totally free, therefore you might see many people to begin their blogging journey with Blogger. Eventually later-on after learning the basics of blogging from Google’s Blogger platform, many of the successful bloggers shift towards WordPress platform since WordPress offers more flexibility and control over your blog and has many SEO based advantages in addition to high level of customization and premium themes availability. But the fact is it takes a bit of time for time to get yourself familiar with WordPress blog, since you were previously engaged with Blogger platform. Even though WordPress.com offers free wordpress blog hosting, but still that lacks features such as plugins and premium themes. However having a full self hosted version of wordpress live at any web host, will cost you money and isn’t feasible unless you have the basic know how of wordpress. Today I will be sharing how bloggers can get started with self hosted WordPress version at Local Host using their own PC for learning purposes, later-on its quite easy to shift a local hosted wordpress blog to live wordpress blog at your favorite wordpress web hosting provider.

Since WordPress Self Hosted version requires a web server like Apache equipped with PHP and MySQL Database. And PHPMyAdmin tool to manage MySQL based database for WordPress blog. You can download and configure each prerequisite manually, however that would be somehow ambiguous and time consuming process. There are many variants of these all in one stacks in the form of XAMPP, WAMP, Microsoft’s Web Matrix and BitNami that ease up wordpress installation process at LocalHost. Each of these stacks are available for Windows, Linux and Mac OS X for Free, except for WebMatrix as its only available for Windows. I would suggest you to go with BitNami Wordpress stack since its the most easiest way to setup a wordpress blog within your PC at localhost. I would be demonstrating this tutorial using BitNami Wordpress Stack with Microsoft’s Windows 8. There won’t be any problem at all if you are using Linux or even Mac OS X.

Steps to Setup WordPress Blog at LocalHost


1. Download & Install latest version of BitNami Wordpress Stack on your computer. (You can choose the version for your OS, either Windows, Linux or Mac OS X)

BitNami WordPress Stack Localhost - Windows Setup

2. Choose the BitNami wordpress stack installation directory and continue with next button.

BitNami WordPress Stack Localhost - Windows Setup

3. PhpMyAdmin is optional to be installed, however its highly recommended component that you should install it. Since it will help you manage and backup the MySQL database manually. Select PhpMyAdmin and hit next.

BitNami WordPress Stack Localhost - Windows Setup - PhpMyAdmin

4. Now enter your name, email address and new username / password details for your WordPress Blog. Same username and password combination can be used to access PhpMyAdmin, however it won’t let you access your wordpress database “bitnami_wordpress”. You have to use “root” as the username and same password to access your wordpress database from PhpMyAdmin. At next step it will ask you to configure SMTP mail client such as gmail or any other, you can either opt for it or skip that step.

BitNami WordPress Stack Localhost - Windows Setup - Create Admin Account

5. Afterwards the setup will ask you to choose your blog’s title / name. And hit next.

BitNami WordPress Stack Localhost - Windows Setup - Choose Blog Title
6. Wait for a while until your computer completes BitNami WordPress Stack installation. It will install Apache2 Web Server, PHP, PHPMyAdmin and WordPress in a directory that you had already chosen at first step. Most probably “C:BitNamiwordpress-version“.
BitNami WordPress Stack Localhost - Windows Setup - Installing Apache as a Windows Service with name wordpressApache

During the installation process you might see certain command prompts opening and closing automatically, that’s how Apache web server is being configured by the installation setup.

After successful installation of BitNami WordPress Stack, your web browser will automatically open http://127.0.0.1/wordpress/ or http://localhost/wordpress/ and will show your newly installed wordpress blog at localhost over there.

WordPress Localhost Blog Homepage Preview

Wordpress Localhost Blog HomePage Preview

Now you can easily access the WordPress administration panel at http://localhost/wordpress/wp-admin with the username and password you had chosen during installation process.

Wordpress Localhost WP-Admin

Plugin Installation Panel of WordPress

Wordpress Localhost WP-Admin - Plugin Installation

Themes Installation Panel of WordPress

Wordpress Localhost WP-Admin - Theme Installation

Apart from that you will also see a minimal control panel that lets you access Application Directories, PhpMyAdmin, Manager Servers and Application access logs. You can manually access this management control panel at C:BitNamiwordpress-versionmanager-windows.exe.

BitNami WordPress Stack Control Panel Windows 8

You can also Manage MySQL Database & Apache Web Servers with this control panel, you can either start, stop or restart these servers in case of any error. If you are facing database connection error or page not found errors, probably you need to restart both of these servers.

BitNami WordPress Stack Control Panel Windows 8 - Manage Servers
Quick Access URLs and Tips for WordPress Local Host

1. Your WordPress localhost access URLs are:
http://127.0.0.1/wordpress/ or http://localhost/wordpress/
2. Your WordPress administration panel is located at:
http://localhost/wordpress/wp-admin 
(Login with username & password you had used during installation)
(Login with username “root” and password which you had chosen during installation. Only root username has access to your wordpress database in PhpMyAdmin)
4. Your WordPress directory is located at:
C:BitNamiwordpress-versionappswordpresshtdocs
5. Your .htaccess file is located at:
C:BitNamiwordpress-3.6.1-1appswordpressconfhttpd-app.conf 
(that needs to be modified, if you want to turn this localhost wordpress installation, into live version.)

Please note that if you planning to make your wordpress blog live from the localhost version, this “httpd-app.conf” file has to be modified a bit to form a proper .htaccess file. In case you are looking forward to have your local host wordpress installation to be made live, you can hire me for this task. If you are facing any errors or ambiguity, you can surely leave your comments and I’ll be glad to help you out. In addition to that you can Claim FREE WordPress Installation & Optimization from us.

Why WordPress (Self Hosted) is Better Than Blogger (BlogSpot)?
How to Make Money with HostGator Affiliate Program?