How to Install WordPress on Windows Server

This article explains how to install WordPress on a Windows Server using IIS. First, ensure your server meets the requirements (Windows Server with IIS, MySQL, and PHP). Download the latest WordPress package, then add your domain and create a website in the hosting panel. Next, create a MySQL database and user, upload the extracted WordPress files to the website root directory, and configure the website settings. Then edit the WordPress configuration file with your MySQL details, and if the domain isn't resolving yet, update the local hosts file. Finally, visit your domain in a browser to run the WordPress installation and complete the setup.

How to Install WordPress on Windows?

Step 1. System Requirements

Before installing, make sure your Windows Server meets the following requirements:

  • Windows Server with IIS 7.5 / IIS 8.0 (or newer)
  • MySQL Database
  • PHP 5.0+ (recommended: PHP 7.4 or higher)

This setup will allow you to run WordPress in Windows Server smoothly.

Step 2. Download WordPress

  1. Go to the official website: https://wordpress.org/download/
  2. Download the latest version of WordPress.
  3. Save the ZIP file to your local computer.
    Download software

Step 3. Add Domain & Create Website

  1. Log in to your WebsitePanel (control panel).
  2. Add your domain (e.g., yourdomainname.com).
    Add domain & create website in Panel
  3. Create a new website under IIS for your domain.

This step ensures that IIS knows where to serve your WordPress site.

Step 4. Create MySQL Database & User

  1. Open WebsitePanel.
  2. Go to MySQL → Create Database and Create User.
    Create MySQL database & user

Step 5. Upload WordPress Files

  1. Extract the WordPress ZIP file on your computer.
  2. Upload the extracted files to: C:\HostingSpaces\admin\yourdomainname.com\wwwroot
  3. Use FTP if needed (e.g., FileZilla).
    Copy or Upload the installation files to host

Step 6. Configure Website Settings

  1. Open WebsitePanel → Website Settings.
  2. Enable Write Permissions.
  3. Set Dedicated Application Pool.
  4. Configure Default Document** as index.php.
  5. Set ASP.NET to 4.0 (Integrated Pipeline) and PHP to 5.x.
    Change the website setting
    Change the website setting
    This ensures your WordPress site will load properly under IIS.

Step 7. Modify WordPress Configuration

  1. Navigate to:
C:\HostingSpaces\admin\yourdomainname.com\wwwroot
  1. Rename wp-config-sample.php → wp-config.php.
  2. Edit the file and enter your MySQL details:
define('DB_NAME', 'your_database_name');
define('DB_USER', 'your_database_user');
define('DB_PASSWORD', 'your_database_password');
define('DB_HOST', '127.0.0.1'); // or remote MySQL server

Modify the files

  1. If your domain is not yet resolving, update the hosts file:
C:\Windows\System32\drivers\etc\hosts
  1. Add your server IP and domain name.
    Modify the files

Step 8. Run WordPress Installation

  1. Open your browser and go to http://yourdomainname.com.
  2. The WordPress setup page will appear.
  3. Enter the following details:
    • Site Title
    • Admin Username
    • Password
    • Email Address
  4. Click Install WordPress.
    Browse the website to install the WordPress website

Browse the website to install the WordPress website
Congratulations! You have successfully installed WordPress on Windows Server using IIS.

Conclusion

Installing WordPress on Windows Server may seem technical at first, but by following this step-by-step guide, even beginners can get their WordPress site running. Using IIS as your web server is a powerful way to host WordPress in a Windows environment.

Now your WordPress website is ready for customization, plugins, and themes.

Keywords:

wordpress for windows server, wordpress in windows server, install wordpress on iis, iis install wordpress, install wordpress on windows server

Last Updated:   11/13/2026
Outline