Installing WordPress on Microsoft IIS

Install Internet Information Services 8.5 and WordPress 3.x by Using the Microsoft Web Platform Installer 5.0

This article describes how to install and configure WordPress 3.x on Windows clients and servers (see Prerequisites) using the Microsoft Web Platform Installer (Web PI) version 5.0. As of May 28, 2014, the latest version of WordPress is 3.9.1.

The Web PI is a free tool that makes getting the latest components of the Microsoft Web Platform—including Internet Information Services (IIS), MySQL, PHP, the Microsoft .NET Framework, and Visual Web Developer—quick and easy. The Web PI also lets you install web applications such as WordPress with the built-in Windows Web App Gallery.

To install WordPress on IIS 8.5 by using the Web PI 5.0, follow these steps:

Prerequisites

Step 1. Install Microsoft Web Platform Installer 5.0

Step 2. Select the products and applications to install

Step 3. Review and configure the selected products and applications

Step 4. Complete the installation and configuration

Step 5. Enable clean URLs (Pretty Permalinks)

Step 6. Running Microsoft WebMatrix with WordPress

Prerequisites

The supported operating systems for the Microsoft Web Platform Installer (Web PI) 5.0 are Windows 8.1, Windows 8, Windows 7, Windows Vista Service Pack 1 (SP1), Windows Vista, Windows XP Service Pack 2 (SP2) and later versions, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 R2, Windows Server 2008, and Windows Server 2003 Service Pack 1 (SP1) and later versions.

For this guide, it is assumed that you have either Windows Server 2012 R2 or Windows 8.1 Pro client installed on your computer. You will also need an Internet connection and administrator privileges for your computer.

It is a good idea to confirm that your system meets the hardware requirements for IIS 8.5. See http://technet.microsoft.com/en-us/library/dn303418.aspx for more information.

Step 1. Install Microsoft Web Platform Installer 5.0

In this step you download, install, and launch the MS Web Platform Installer (Web PI 5.0, which is a 1.4 MB download).

  1. Log into your Windows machine as a user with administrative privileges.
  2. Launch Internet Explorer (other browsers work too).
  3. Go to http://www.microsoft.com/web/downloads/platform.aspx, and then click the Free Download button.

    Microsoft Web Platform Installer 5.0 webpage

  4. Click Run.

    File download security warning

  5. Click Run again.

    Internet Explorer security warning

  6. Wait a few seconds for the Web PI 5.0 to start.

Step 2. Select the products and applications to install

In this step, you select the version of WordPress that you want to install. WordPress 3.9.1 is used in this guide.

  1. On the “Web Platform Installer” start screen click the Applications tab, and then click the Add button associated to the right with “WordPress”.

    List of apps on WebPI

  2. Click Install.

    Select WordPress on WebPI

Step 3. Review and configure the selected products and applications

In this step, you review and configure what you have added. Additionally, you add the database and configure the password for it.

  1. When you are asked which type of database you want to use, leave MySQL (Not installed) selected.
    Note: This will install MySQL 5.1 for Windows to handle all the database transactions that are required by WordPress.
  2. In password fields, type in a password for your database, and then click Continue.

    Database engine configuration

  3. Review the files to be downloaded and installed, as well as the license agreements, and then click I Accept.

    Application installation summary

  4. Allow the Web PI installation to complete.

    WordPress Installation process

  5. Configure Security Keys.
    The WordPress Security Keys section describes what these keys and how they’re used.

    Configure Security Keys
    The keys don’t need to be remembered, they should just be long, random and complicated. An easy way to generate the keys is to use the online key generator. Each time you click browser refresh, the online key generator creates a new set of keys.Note: The online key generator produces keys that may contain dollar signs (‘$’) which cannot be used with keys entered into Web-PI. Until this Web-PI issue is resolved, a simple solution is to check for dollar sign characters and simply replace ‘$’ with ‘S’ (any alpha character will work).

    Here’s an example set of keys – don’t use these, use the online key generator to create your own unique keys!

    Example Security Keys

  6. Finish.
    On the FINISH dialog click the copy to clipboard link (this copies your database settings and password to the clipboard), paste and save this information in a file for future reference, and then click the Finish button.

    Installation completed

  7. Microsoft WebMatrix will open, allowing you to configure additional settings related to your WordPress site:

    WebMatrix summary screen

Step 4. Complete the installation and configuration

In this step, you complete the installation.

  1. Switch to Internet Explorer.
  2. Go to your WordPress website. For example, go to http://localhost/myWordPress.
  3. In the Site Title box, type the name of your site.
  4. In the Password, twice boxes, type a password for the admin account.

    WordPress site configuration

  5. In the Your E-mail box, type the email address for the admin account.
  6. Click Install WordPress.

    WordPress site configuration (continued)

  7. Click Log In.

    WordPress site configuration completed

  8. Type admin, type the password, and then click Log In.

    WordPress login

Step 5. Enable clean URLs (Pretty Permalinks)

In this step, you enable Pretty Permalinks now that WordPress has been installed.

  1. In the Dashboard menu, click Settings.

    WordPress dashboard menu

  2. Scroll down, and then click Permalinks.

    Settings

  3. Under Common settings, select a common Permalink setting or select Custom Structure to create your own Permalink, and then click Save Changes.

    Permalink settings

The installation is now complete, and you are ready to use WordPress!

Step 6. Running Microsoft WebMatrix with WordPress

The Microsoft Web Platform Installer (Web PI) installs WordPress to run in a localhost configuration in combination with Microsoft WebMatrix (which was also installed as part of the Web PI installation). When WebMatrix is not running (e.g., after a reboot or if you terminate WebMatrix) you will not be able to access your localhost WordPress site until WebMatrix is restarted. Use the following steps to start WebMatrix and launch your localhost WordPress site.

  1. Click Start, click All Programs, click-open the Microsoft WebMatrix folder, and then click to launch the Microsoft WebMatrix app.

    Launch Microsoft WebMatrix

  2. On the WebMatrix start page, click the My Sites button to display the installed sites, and then click your wordpress site that displays in the pop-up context menu.

    Open your WordPress site

  3. After the site opens, click the lower-left Site tab to display links for the WordPress launch URL and file Path.

    Open the "Site" tab

  4. Click on the site URL link to launch your localhost WordPress site.
    Launch the localhost WordPress site
  5. At this point WebMatrix will open a browser window to your localhost WordPress site which you can customize and add content to.

    Browser window opens with your localhost WordPress site.

Remember: WebMatrix must be left running while you interact with your localhost WordPress site.

Taken from: https://codex.wordpress.org/Installing_on_Microsoft_IIS