Sviluppo Web Frontend

WordPress Locally: From Zero to Expert

Install WordPress locally on Windows with XAMPP: Apache, MySQL, phpMyAdmin, file system and virtual local domain.

Course description

WordPress Locally on Windows: The Professional Setup from Scratch

Before publishing a WordPress site online, it makes sense to build and test it locally on your PC. In this course I show you how to install WordPress locally on Windows 11 with XAMPP, configure Apache and MySQL, create the database with phpMyAdmin, and even set up a custom local domain with vhosts.conf.

What You'll Learn

  • What you need to run WordPress locally: Apache, MySQL and PHP
  • Installing XAMPP on Windows 11 and understanding how service ports work
  • Where to place WordPress files in the XAMPP htdocs folder
  • Creating a MySQL database with phpMyAdmin and completing the WordPress installation
  • Configuring a custom local domain with the vhosts.conf file

A Real Local Environment, Not a Shortcut

There are tools like Local by Flywheel that automate everything in one click, but understanding how XAMPP works gives you a genuine understanding of what lies beneath WordPress: the Apache web server, the MySQL database, PHP. These foundations will prove useful when working on shared hosting, VPS, or configuring staging environments.

Who This Course Is For

Ideal for those who want to develop or customize WordPress sites on their PC before publishing them online. Also useful for those studying WordPress who want a personal testing environment without paying for hosting. No prior experience required — we follow every step from the beginning.

Lessons list

I'll explain what you need to run WordPress locally on Windows 11: Apache, MySQL, and PHP, and why XAMPP bundles them all into a single easy-to-install package. Let's understand the basic web server architecture before we even touch WordPress.

Guarda lezione

Let's install XAMPP on Windows 11 step by step and understand how service ports work: why Apache uses port 80 and MySQL uses port 3306, and how to resolve conflicts with other programs already listening on those ports.

Guarda lezione

Let's see where to put the WordPress files downloaded from the official site: the XAMPP htdocs folder is your local server's document root, and I'll show you how to structure it correctly to run multiple sites at the same time.

Guarda lezione

Let's create the MySQL database with phpMyAdmin and complete the WordPress guided installation locally, filling in the database credentials in the wp-config.php file. By the end, you'll have a fully working WordPress running on your PC.

Guarda lezione

I'll show you how to configure a custom local domain — such as mysite.local — by editing the Apache vhosts.conf file and the Windows hosts file, so your local development environment is indistinguishable from a real live site.

Guarda lezione
Giovanni Pace

Giovanni Pace

Ingegnere Informatico · Pratola Peligna

  • 107 Courses
About the teacher

Sono un ingegnere informatico con oltre 15 anni di esperienza nel settore ICT. Mi occupo di sviluppo software, cybersecurity, data science e intelligenza artificiale, con particolare attenzione all’innovazione e all’automazione dei processi aziendali. Da anni svolgo anche attività di docenza e formazione, creando percorsi pratici e coinvolgenti su programmazione, DevOps, AI e sicurezza informatica.

This course includes

  • Lessons 5
  • Duration 0h 45m
  • Difficulty base
  • Language it
  • Certificate No

Recently viewed