---
title: How to Install WordPress on a Windows Server with IIS
url: https://docs.vultr.com/how-to-install-wordpress-on-a-windows-server-with-iis-62406
description: Learn how to install WordPress on a Windows Server with IIS in this step-by-step guide. Perfect for beginners and IT professionals setting up WordPress on IIS.
publish_date: 2022-03-28T00:00:00Z
last_updated: 2025-01-23T00:00:00Z
author: Humphrey Mpairwe
header_image: https://docs.vultr.com/public/doc-assets/1283/937929d786f61eec.png
---

> Index of every Vultr Docs page in markdown: https://docs.vultr.com/llms.txt

Install WordPress on a Windows Server with IIS to take advantage of this popular open-source content management system (CMS). WordPress makes website development easy and extensible with its free tools, plugins, and themes, all accessible through a single backend dashboard. To run efficiently on a Windows Server with IIS, WordPress requires an active database, a web server, and a dynamic script processor (PHP).

In this article, you install WordPress on a Windows server running the Internet Information Services (IIS) web server.

## Prerequisites

* [Deploy a Windows Server on Vultr.](https://www.vultr.com/servers/windows/)
* [Remotely Access the Server.](https://docs.vultr.com/how-to-connect-to-windows-server-with-rdp)
* [Enable the IIS Web Server.](https://docs.vultr.com/setting-up-iis-on-windows-server)
* [Install and enable PHP Manager for IIS.](https://docs.vultr.com/how-to-setup-php-manager-on-windows-with-iis)

## Install WordPress and MySQL on a Windows Server with IIS

![WordPress Installation Window](https://docs.vultr.com/public/doc-assets/1283/c02eb14a6830c943.png)

1. Download and install the Microsoft Web Platform installer from the [official website.](https://www.microsoft.com/web/downloads/platform.aspx)
2. Open the Web Platform Installer.
3. Enter **WordPress** in the search bar.
4. Click **Add** to include WordPress in the downloads queue, then click **Install** to preview prerequisites.
5. Enter a new MySQL database administrator password.
6. Click **Next** to Install MySQL and WordPress on the server.
7. At the computer restart popup, click **No** to proceed.
8. Configure the site URL with an application name, or leave the field blank to serve WordPress on the root domain or Server IP address.
9. Click next to complete the installation of WordPress files.

## Configure WordPress

Visit your Server IP address or registered domain name to set up WordPress.

    http://Windows-Server-IP

Select your installation language, then enter your WordPress site title, administrator username, a strong password, and email address to complete the setup.

Create a new `Web.config` file in your WordPress files directory, commonly `C:\inetpub\wwwroot\`

Open the file with Notepad, and paste the following rewrite rules to handle permalinks correctly:

    <rewrite>
        <rules>
            <rule name="Main Rule" stopProcessing="true">
                <match url=".*" />
                <conditions logicalGrouping="MatchAll">
                    <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                    <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                </conditions>
               <action type="Rewrite" url="index.php" />
            </rule>
        </rules>
    </rewrite>

Save and close the file.

Log in to your WordPress website.

    http://Windows-Server-IP/wp-login.php

Test common CMS functions by installing plugins and themes, then create and view blog posts to test your permalink settings.

## Next Steps

You have successfully installed WordPress on a Windows server with IIS. You can update your CMS and perform several WordPress functions on the server. For example, to assign your WordPress website to a domain name linked to the server, edit site bindings in Internet Information Services (IIS) Manager to add your domain.

For more information on setting up your Windows Server instance, refer to the following articles:

* [Windows Firewall Quick Start Guide.](https://docs.vultr.com/firewall-quickstart-for-vultr-cloud-servers#windows-firewall-quickstart)
* [How To Setup Apache on Windows Server.](https://docs.vultr.com/how-to-setup-apache-on-windows-server)
* [How to Configure the Firewall on Windows Server 2019.](https://docs.vultr.com/how-to-configure-the-firewall-on-windows-server-2019)
