Hi guys! In this next video, I will show you how to create virtual host name and install WordPress. This is for web developers or WordPress Developers who are starting to learn and setup WordPress in their local machine.

This is useful for your testing environment and it does not affect your live website or blog.

In this video I am using Wampserver and you can download it from www.wampserver.com

With local server installed (or localhost), you can also play around, create themes and plugins.

So basically, what we need are WordPress Installable files (from WordPress.org), and Wampserver installed in your local computer.

Let Start! Create Virtual Host Name

First by creating virtual host. But before we proceed, you need to create folder you want to install WordPress.

In my case, I am going to c:/ , wamp64 folder/ www folder, and I am creating a folder named “mywordpresstest”

Once the folder is created, go to your browser, (I am using google chrome), and type localhost.

Cick on Add Virtual Host and I am going to name the virtual host as mywordpresstest.local

Then I am going to add the absolute path, this is the folder I created earlier, the folder “mywordpresstest”

You can skip the part that says “IF you want to use VirtualHost by IP..”, and click on the button Start creation of virtual host.

Make you sure to Restart DNS. Go to Wamp icon, right click, and on tools, click Restart DNS.

Now I am going to add WordPress installable files. Before we can start the installation, we need wp-config.php file.

The default WordPress installable files comes with wp-config-sample.php. All you need to do is to make a copy of this file and rename it.

Remove the word sample so it produces “wp-config file”.

Once we have wp-config file, you need to create user & database, this will be use for this installation.

Go back to your browser, localhost/ click on php myadmin, and under accounts, create new user, and create database table for this user.

Make sure to save the database name, database username and databse password because we need it for wp-config.php

Let’s use mywordpresstest for username and databasename, password is mywordpresspassword

Once you did this, let’s go back to installation folder, and edit wp-config file.don’t forget to save your changes.

Lets see if this will work, then you can proceed with your first WordPress installation in your local machine.

Install WordPress

Just follow the instruction on the screen, and you are ready to start building WordPress websites in your localhost.

A Little Bit Help!

I you find this video useful, please share it with your friends, classmates, and colleague, and do not forget to hit the subscribe button.

You may want to read how I started to learn WordPress


In 2010, Michael started his online career. With no formal education and training in Website Design and Development, his passion drives him to learn more using free online resources.

Write A Comment