WordPress is a popular open-source content management system (CMS) designed to make website development easy and extensible with free tools, plugins, and themes available through a single backend dashboard. WordPress requires an active database, web server, and dynamic script processor (PHP) to run on a server.
In this article, you install WordPress on a Windows server running the Internet Information Services (IIS) web server.
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.
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: