How to Make a Website /Blog on Localhost

It was a quite Tough task to create a website but not now. The website has made life very easier for the web developer. More than 80 percent of websites are created on WordPress. On WordPress, you do not need any sort of coding you can simply create a video by drag and drop.

You can create a website by following this video., Even if you have not done it before. Watch this video carefully and follow the steps

Create a website/blog in minutes with our step-by-step guide.

We need a hosting and domain to create a website. Don’t worry, if you have not web hosting and domain, create your first website on your local computer.

WordPress installation on XAMPP

Follow the steps to create your website: 

WordPress is the most famous CMS in the world, and every type of website can be created by it. Two things are mandatory for creating a professional website or blog:

1. Domain name
2. Web hosting

Don’t worry, if you have not purchased a domain and hosting yet, create your website or blog on your local hos. You can create a full website or blog locally before going to live server. It is better to create a website or blog on the local host, after completing your project you can easily upload (launch)your full site on a live server.

See also  4 ways to create a free blog/website

First you need to install a local host software on your PC to make it local server to run web development applications. I recommend  XAMPP, a small utility ,which will allow you to run a local web server on your own machine, using Apache and MySQL. This tutorial is for Windows users, there are other versions of XAMPP are available, if you are using XAMPP is available for the following operating systems..
XAMPP Windows
· XAMPP Linux


First, you need to download XAMPP. Click here to download XAMPP latest version, and then double click the installer file to install on your computer. Its installation is quite easy, as like any other software, you have already installed.

If your system is configured by default, a message appears indicating that the control of the user’s account – UAC – is disabled.

Press OK and confirm the steps for installing the software.

Starting the Apache and MySQL

After installation, launch XAMPP from your desktop shortcut and start Apache and MySQL by pressing “Start” on the control panel.
Now open your browser, and type http://localhost and press enter, you will see a XAMPP home page, and now you can run any web development software, including WordPress on your local machine.

See also  How to create a website on WordPress


Select English language to go to the admin panel, and now you can install WordPress locally.



Now we are going to create a database for wordPress  installation.
click on the link phpMyAdmin to create a database for WordPress installation.

Now you are here at phpmyadmin panel.


Click on the databases link on the top and type database name for example “WordPress”in the database name and click crate. Now you have created your database successfully.  A confirmation message is displayed, your database is operational and ready to be coupled to a WordPress installation.



The hard part is done, now we start creating a  WordPress website on the local host. Get the latest WordPress CMS – version from, download the latest version on your computer. rsz_wordpress-latest-version-download
Locate the xampp folder on c:\ open it and locate htdocs folder, and create a new folder “Wordpress ”here, and past the unzipped files in the WordPress folder.
Latest version is 4.1.

See also  How to choose a perfect domain?

Open your browser to go to the root of your new site by typing  http://localhost/wordpress / simply where you have past WordPress files.

Create WordPress configuration file

Click “Create the configuration file” and “Let’s go” and enter the login details to your database. The fields “Host Database” and “Table Prefix” does not need to be changed and leave the password field empty. Remember here in local host does nor require password.


Connection details to the database
Confirm the message “Great! We arrived at the end of this part of the installation.WordPress can now connect with your database.


Connecting to the database
It’ll only start the installation and fine-tune the final details by entering the title of your new site, a username, a password and an email address. The “Privacy” is of no importance,installing WordPress is local, and therefore inaccessible from the outside.


WordPress Website Details
Press “Install WordPress” to finish off.

Now we have installed WordPress locally using XAMPP
That’s it, now you can administer your site as you like, by connecting to the address http: //localhost/wordpress/wp-login.php


This Post Has 31 Comments

  1. umer jutt

    he mujy sy nai ban rahi website

  2. irfan ahmed

    Hello sir I also making a web site but the profectional web site makes demand a lot of money to make web.I can not affordable to make free web and turn is a Google adsense.? Please some links mention to reply thanks.

    1. Akhtar

      Dear brother, you can create a professional website in less than Rs3000. Just go to and purchase monthly or annually hosting, if you need further assistance, I will guide you.

  3. Mohammad Babur Ayub

    Hellow, I have been through the information mentioned, I can write quite informative articles on some selected topics, it seems difficult to take a start from your program as some steps are not understandable. Can you please guide in this concern in a more vivid way.

    1. Akhtar

      WAMP runs on Windows and xamp support more operating systems. I preffer xamp local host.

  4. Zahid ali

    Can anyone else make it for me? What can we do after making websites

  5. irfan ahmed

    Hello sir I interest and understand to your article to create a website and monetise to create a web in any without hurdles and how can monetize to its.describe the whole process step by step.thanks.

  6. Muzffar Hussain

    Sir i am interested in your program please help me and register my waib site please thnks

  7. Muhammad Murad

    Sir I am interested in this progm but problem is open website, so please help me thanks.



    1. Akhtar

      Brother if you are really interested, then just start making a website using our easy step by step guide



    1. Akhtar

      Yes every one can start

  10. adnanjutt

    Hi I m Adnan jutt

    1. Akhtar

      you can learn making a website and earning online, by our step by step guide, i you can read easy English

  11. Laiba

    I just agree to to join this website.

    1. Akhtar

      There is no joing required, just learn making a website and monetizing options.

  12. Aghah zahid Ali

    If is free of cost for learner new.writing not for bussiness point of view then Well come help me to teach and learn.Wellcome….Wellcome

  13. mubashir pathan

    Im make website for beautiful places pic and hotels

    1. Akhtar

      good idea

  14. Hakim Habib

    Sir i want to edit my wordpress site theme, and want some changes in theme?

  15. sanaullah

    i lern in website so pleese me leren website in urdu

  16. Ateek

    which is better Xamp or wamp??

    1. Akhtar

      XAMPP or WAMP aren’t much different, I like Xamp, because it is easy to use, and i have never face any problem using XAMP.

Comments are closed.