Home » How to Create a WordPress Website using XAMPP

Web Design

When it comes to design there should be no afterthoughts or assumptions. Every element should be considered and have a purpose.

Android App Development

We’re teamed up with professional app developers to provide you with astounding Android App developing experience.

Web Development

We’ll pair you with a well-suited consultant to help you with IT-based issues. We are infused with certified performance consultants. 

Internet Marketing & SEO

Get a 675% increase in online inquiries when using our SEO services.


A website is an important asset for the business and the company. Creating a website always seem to be very creative and fascinating but for the beginners, it might be difficult. Before you start making a website, you have to choose the best CMS Xampp to make your website best functioning.

WordPress is a CMS system that is mostly used by almost every website because it has several benefits and it is flexible and extremely simple to set up. We have discussed the important features of WordPress website in the previous article so in this article we are going to discuss the development of WordPress website using XAMPP.

Why Using XAMPP

Developing a website actually contains a few important steps and the most important part of website development is to activate the web server software that is (Apache) PHP and MySQL on your computer. These web server software should be activated and running at the time you are in the developmental process of your website.

Now, if you are creating a website you have to install each of this software and you have to make sure that these are running successfully. If you are installing and running these software programs separately, they might end up slowing down your system and resulting in errors and bugs.


XAMPP is an ultimate package that is incorporated with the different software programs all in together, these software programs are required by every developer while creating a website. XAMPP is an operating system that allows you to install the development components such as MySQL, PHP, (Apache) all at once and run them at once.

Creating a WordPress Website using XAMPP:

STEP 1) Installing XAMPP

wordpress development

First of all, you need to install XAMPP operating system in your computer system. You can easily download this software from its website.

The XAMPP website might look like the above image on your computer systems. Once you have clicked on the download option according to the device and operating system you have selected, your downloading will be started.

After you are done with the downloading part, the next step is to install the XAMPP on your system. To install XAMPP you just have to run the installation wizard on your system, this step is easiest and the simplest one. Just keep clicking on the next until you are done.

STEP 2) Running XAMPP on your system

wordpress services

Once your installation is done, open XAMPP and the window should look like the above image, you will see a number of software programs, just keep your focus on the first two as we just have to activate them for the present process.

Click on the start button of Apache and MySQL, your software programs will start running and the start button will immediately turn into a green with the text “stop”. The started software programs should be green if they are orange or red then you have made a mistake and it is not running correctly.

While all of this process is going on make sure that your computer programs allow XAMPP to work properly if you have very strict server security then slow it down for this process otherwise XAMPP won’t function properly on your system. Sometimes your windows security does not allow such software to interrupt so you have to make sure that this is not an issue.

When your Apache and MySQL is successfully running in green, this is the point when you are confirmed that your XAMPP is installed and working properly.

STEP 3) Downloading WordPress


The next step in creating a website using XAMPP will be downloading WordPress.

First of all, you have to download WordPress into your system. The downloading process is quite simple just like any other downloading. Firstly you have to go to the official website of WordPress and clicked on the download button.

STEP 4) Extracting WordPress Zip files into XAMPP

wordpress xampp

After you have done downloading the WordPress on your computer the next step is to copy extracted zip files into XAMPP. For that purpose extract the zip files and simply lookup for the htdocs in XAMPP folder, click on the htdocs and extract your WordPress files in there.

STEP 5) Creating Database on WordPress



The next step is to set up your new website using WordPress and XAMPP. You have to go to the search bar and type “localhost” and press enter, the new XAMPP page should appear by pressing enter. From there you have to look up for the PHP Myadmin and click on it. A new page will appear and you have to click on “database”, you can see the empty boxes on clicking on the database, you have to fill them up in order to develop a new database. Write the name of the website in the first box and click on the create, your database will be created.

STEP 6) Renaming Files In XAMPP


The next step is to rename, the WordPress files you have copied should be renamed according to a website you are making. It will be easier for you to identify your website that way. To rename the folder, you have to go back to XAMPP folder and click on the htdocs and there click on the WordPress folder that you have extracted in htdocs. Once your WordPress folder is opened, next lookup for the wp-config-sample.php that should be present in your WordPress folder.

READ MORE: Our latest blog

Open this up with notepad, you will see the database names, so you have to change these names according to your website. Change your database name and write the same name that you have written on your WordPress database. Next, change the username with “root” and after that change your password and leave the password space empty. After the renaming is done just click on the save button and you are done with this step.

STEP 7) Setting up Database


In the next step, you have to go back to the above search bar and type localhost/databasename/ and press enter the new page will appear and here you will configure your new website. On this page, you will have to set up the database name so type the database name, a username that will be “root” and the password will be left empty. After these steps, just press submit.

STEP 8) Filling the Form on WordPress and get started

database connection

This is the last step, so once you have clicked on the submit a new web page will be opened. On this page, you have to set up the site title, username, and the password. So carefully fill these spaces and write accurate username and a strong password.

After filling up your form click below on the instant WordPress, a new page will appear where you are required to login into your WordPress by giving the username and the password you recently set up. Once you are logged in you will see that your website has been successfully developed. You can make changes to the website and add plugins and themes.

By following the above steps you will successfully develop a local website, this method of creating a website is amazing as you can learn a lot of different techniques, tools and several other aspects of the WordPress website by your own local website. The local website can also be transformed into the live site but it has different steps that will be discussed in our upcoming articles.


This article is about the development of Website on WordPress using XAMPP. This article includes all the steps that you can follow in order to carry out your very own local website. These steps will make you learn about the development of the WordPress website in less time and without doing any extra effort. This is the easiest and simplest method that has been discussed in this article.

Free Tech Consultancy

Helped 300+ Companies Accelerate Growth

With Right Tech Solution. Want Help?

Your Form is Successfully Submited