itsmeit.bizitsmeit.biz
  • Home
  • Windows
    • Windows Software
  • Ubuntu & Linux
    Ubuntu & Linux
    The top blog articles on Ubuntu and Linux, featuring valuable tips and tricks, empower you to master these operating systems and enhance your experience.
    Show More
    Top News
    How to use chmod command in Linux or Ubuntu with examples
    How to use chmod command in Linux or Ubuntu with examples
    November 11, 2023
    How to Remove Ubuntu Dual boot Windows 11 UEFI and Legacy
    How to Remove Ubuntu Dual boot Windows 11 UEFI and Legacy
    November 10, 2023
    How to install php7.4 on Ubuntu & Config php7.4-fpm - itsmeit.biz
    How to install php7.4 on Ubuntu 22.04 | 20.04 LTS
    November 10, 2023
    Latest News
    How to install Composer on Ubuntu 20.04 | 22.04 & Linux
    November 13, 2023
    How to Configure Redis Cache to Speed ​​Up WordPress Site
    November 15, 2023
    Install Ibus-bamboo or Ibus-unikey for Accented Letters on Ubuntu 22.04
    November 11, 2023
    How to install MariaDB on Ubuntu 22.04, 20.04 and Debian
    November 11, 2023
  • Web developer
    • Wordpress Theme
      • Blog News
      • Fashion Theme
      • Theme Elementor
      • WooCommerce Theme
    • Wordpress Plugin
    • Magento Developer
Reading: How to install WordPress on Localhost Xampp Windows
Share
Font ResizerAa
itsmeit.bizitsmeit.biz
Font ResizerAa
  • Linux & Ubuntu
  • Windows
    • Tips & Trick
    • Windows Software
  • Web developer
    • Magento Developer
    • Wordpress Plugin
    • WP Blog Theme
    • WP Fashion Theme
    • WooCommerce Theme
  • Log Out
Have an existing account? Sign In
Follow US
Copyright © 2022. All Rights Reserved.
WindowsWeb developer

How to install WordPress on Localhost Xampp Windows

duyanh
Last updated: November 17, 2023
By duyanh Published November 13, 2023
Share
SHARE

Table of contents

  1. How to install WordPress on localhost xampp and config domain
    1. Step 1. Download and setup install Xampp on your computer
    2. Step 2. Start xampp and create a database
    3. Step 3. How to download WordPress source code
    4. Step 4. How to configure domain on Xampp localhost
    5. Step 5. Initialize WordPress and set up the website

The article shows how to install WordPress on localhost, and the steps to configure and install the website with XAMPP allow you to run a website from your own computer.

How to install WordPress on localhost xampp and config domain

What is xampp?. Xampp is a virtual server application that runs on Windows, macOS, and Linux including Apache, PHP, and MySQL. Support to install and run websites on the PHP platform, specifically WordPress. In addition, Xampp provides easy phpMyAdmin giving you database management capabilities.

What is XAMPP? XAMPP is a virtual server software that is available for Windows, macOS, and Linux. It comprises Apache, PHP, and MySQL and enables you to install and run websites using the PHP platform, particularly WordPress. Furthermore, XAMPP makes it convenient to manage databases through phpMyAdmin.

Step 1. Download and setup install Xampp on your computer

Visit the XAMPP homepage and select the appropriate version for your computer. Pick the correct PHP version based on the requirements for setting up WordPress installation.

Once you have completed the download, launch the file “xampp-windows-x64-xx.exe” and proceed by clicking “Next” until you reach the “Finish” button.

How to install wordpress on localhost xampp and config domain
How to install wordpress on localhost xampp and config domain (illustration)

During the installation process, you have the option to deselect certain features such as Filezilla, Mercury Mail Server, Tomcat, Perl, and Webalizer if you do not plan on utilizing them.

Step 2. Start xampp and create a database

Launch XAMPP, start the Apache and MySQL services, and then enter “127.0.0.1/phpmyadmin” into your web browser.

How to install wordpress on xampp localhost and config domain
How to install wordpress on localhost xampp and config domain
How to install WordPress on localhost Xampp and config domain (illustration)

Click New and create a new database.

Step 3. How to download WordPress source code

Visit the wordpress.org homepage to download the file and extract it, resulting in a folder containing the WordPress source code. Copy the extracted WordPress folder to the “htdocs” folder within XAMPP. If you have installed XAMPP on drive F, the path would be “F:\XAMPP\htdocs“.

How to download wordpress source code
How to install WordPress on localhost Xampp and config domain (illustration)

Step 4. How to configure domain on Xampp localhost

You can actually start the installation by accessing the web through the URL “127.0.0.1/wordpress”, but it’s recommended to create a visually appealing virtual domain instead.

Now, open and edit the file “F:\XAMPP\apache\conf\httpd.conf“, and add the following content to the bottom.

<VirtualHost *:80>
    ServerName demo.itsmeit.biz
    ServerAlias demo.itsmeit.biz
    DocumentRoot "F:/xampp/htdocs/wordpress"
</VirtualHost>

You can manually set a domain to run a website by specifying the ServerName and ServerAlias and directing the DocumentRoot to the directory that contains the WordPress source code.

Next, open and edit the file located at “C:\Windows\System32\drivers\etc\hosts” and add the following information to the end. The domain ‘demo.itsmeit.biz’ should match the one specified in the “httpd.conf” file.

127.0.0.1 demo.itsmeit.biz

In order to set the necessary read/write/edit permissions for the host file, you can either edit it directly or copy it to the desktop and then paste it into the “C:\Windows\System32\drivers\etc” directory. As demonstrated below, I have added write permission to the file.

How to configure domain on xampp localhost
How to install WordPress on localhost xampp and config domain (illustration)

Step 5. Initialize WordPress and set up the website

To continue, reopen Xampp, restart Apache, and navigate to the URL ‘demo.itsmeit.biz’ using your web browser. Then, initiate the process of establishing the initial database for your website.

  • The database name is the name created in step 3
  • The username here is User Mysql, on localhost just leave it as the root
  • Password is blank
  • Database Host: Localhost
  • The prefix should be left as the default
How to install wordpress on xampp localhost and config domain
How to install WordPress on localhost xampp and config domain (illustration)

Next enter all the information and initialize the web. In there:

  • Website Name: Is your website title or tagline
  • Username: Is the name to log in to the admin page /wp-admin
How to install wordpress on xampp localhost and config domain

After installation is complete, you can log in to the admin with the created user/pass and through this post, I have a website:

  • Admin URL: http://demo.itsmeit.biz/wp-admin/
  • Frontend page URL: http://demo.itsmeit.biz/
how to install wordpress on xampp localhost 9

Through this article, with just 5 simple steps you know how to install WordPress on Xampp localhost, and can install a website to test dev, and run tests on your computer, if you want to run on a server or Ubuntu/Linux, you can refer to :

  • How to install WordPress on Ubuntu 22.04 | 20.04 apache2
  • How to install WordPress on Ubuntu 20.04 | 22.04 with Nginx

– Advertising –

Share this Article
Facebook Twitter Pinterest LinkedIn Reddit Telegram
Leave a comment Leave a comment
Subscribe
Connect with
Login
Notify of
guest
Connect with
guest
0 Comments
Inline Feedbacks
View all comments
Previous Article Neeon v2.9.2 - Best WordPress News Magazine Theme Neeon v2.9.2 – Best WordPress News Magazine Theme
Next Article Yoast Seo Premium v21.4 – WordPress SEO Plugin, Optimization SEO on-page Yoast Seo v21.4 (+Addons) – WordPress SEO Plugin

You Might Also Like

Download Office 2024 Professional Plus Preview LTSC AIO

Prevent Spam Register Plugin – Block WordPress Spam Accounts

How to Disable and Secure WP JSON API in WordPress

How to install Magento 2.4 on Ubuntu 22.04 with Composer

How to fix errors & change all WordPress links to a new domain

Stay Connected

Facebook Like
Twitter Follow
Pinterest Pin
Telegram Follow

Popular Posts

Download Office 2024 Professional Plus Preview LTSC AIO Full Repack + Activate + Multilanguage
Download Office 2024 Professional Plus Preview LTSC AIO
December 9, 2023 2 Views
Download Adobe Photoshop 2024 v25.2.0.196 Repack (Full Activated)
Photoshop 2024 Repack v25.2.0.196 Full + AI / Neural Filters
December 9, 2023 439 Views
Download IDM FULL Crack v6.42.2 + Repack (Fix fake serial)
Download IDM FULL Crack v6.42.2 + Repack (Fix fake serial)
December 8, 2023 689 Views
Download WPBakery v7.2 Drag and Drop WordPress Page Builder Plugins
WPBakery v7.2 Drag and Drop WordPress Page Builder Plugins
December 4, 2023 27 Views
Download Plugin Product Video Gallery for Woocommerce v1.5.0
Plugin Product Video Gallery for Woocommerce v1.5.0
November 17, 2023 11 Views
Download Prevent Spam Register Plugin - Block WordPress Spam Accounts
Prevent Spam Register Plugin – Block WordPress Spam Accounts
November 17, 2023 17 Views
We provide tips and tricks on Internet technology, computers, servers as well as share experiences for developers and website designers.

DMCA.com Protection Status

Quick Link

  • Linux | Ubuntu
  • Windows & Software
  • Magento Developer
  • Wordpress Plugin
  • Wordpress Theme

General Policy

  • About US
  • Contact US
  • Disclaimer
  • Privacy Policy
  • Terms of Service

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

itsmeit.bizitsmeit.biz
Follow US
Copyright © 2023. All Rights Reserved.
  • WP Blog Theme
  • WP Fashion Theme
  • WooCommerce Theme
  • Wordpress Plugin
Welcome Back!

Sign in to your account

Continue with Google
Continue with TikTok
Continue with GitHub
Register Lost your password?