Tutorials

Create local website on your PC

In this tutorial, we will show you how to create a local website on you PC, using WordPress.

You may ask yourself, why you even need it. And here are some top reasons of why not.

  1. You may create an Intranet, your local home network to share information among a set of computers you may have.
  2. You may want to have a stage or backup environment for your existing website on the Internet.
  3. You may simply want to organize your data and store it in database, having a simple and easy access and management tools, in no time, with zero code.

The following steps will teach you how to set a WordPress site on your home computer, on Windows OS.

First of all, you must know that WordPress needs Apache web server, PHP, and MySQL database.

Although you coud install each of these packages manually, this is hard and long, error prone way you must avoid, unless you are an experienced professional in the field.

So, luckily for us, there is a distribution package, called XAMPP, which is free and easy to use. It will take care of your installation and configuration in just a click.

Let’s install our local website.

  1. We will first download and install XAMPP for Windows from here:
    https://www.apachefriends.org
  2. After the installation process finishes, you will have XAMPP icon added to your Taskbar. You could also launch XAMPP Control Panel from your Start Menu.
  3. Make sure that Apache and MySQL are running.
  1. Next, we will install WordPress by typing the following URL in the address bar of your browser:
    http://localhost/dashboard/
  2. If you see the following page, it means that XAMPP is successfully installed. Click on WordPress icon at the bottom of the page.
  1. You will be redirected to Bitnami site, with WordPress module. Scroll to the bottom of the page and click on Download WordPress for Windows.
  1. Launch the installation of WordPress. Once installed, you will be automatically redirected to your new website.
    http://127.0.0.1/wordpress/
  2. To access the admin area of your site, called Dashboard, just go here and login with your administrator account:
    http://127.0.0.1/wordpress/wp-login.php

Congratulations!

Your new local WordPress website is ready.