Replacing my fixed home page with a private CMS and blog using IIS and WordPress on Vista

! Warning: this post hasn't been updated in over three years and so may contain out of date information.

Stage 5: Configure IIS

The first stage is to decide where you are going to install WordPress. I’ve chosen C:\MyWP here, but feel free to change it to a folder of your choice.

  • Create the folder now.

Next we need to set up IIS, both to use PHP and to host WordPress:

  • Go to Start menu > Administrative tools > IIS Manager
  • Double click Handle Mappings
  • Select Add Module Mapping (found below Actions on the right hand side)
  • Set up the module as shown below:
Configuring IIS to support PHP
Configuring IIS to support PHP
  • Select OK then Yes

Next you need to configure IIS to host the WordPress website:

  • On the left hand side, below Connections, expand the host entry if required and then expand Sites.
  • If you have a default website entry, you may wish to delete it. If you followed the optional stage 4 and intend giving WordPress a hostname. this isn’t necessary.
  • Right click on Sites and select “Add Web Site…”, then:
    • Give the site a name (can be anything you like, it’s just a reference within IIS)
    • Point the physical path at your chosen WordPress installation folder.
    • Click on Connect as…, then on Set… on the Connect As dialogue
    • Enter a username that has read and write access to your chosen wordpress installation folder.
    • Enter the password twice, then click OK and OK again on the Connect As dialogue.
  • Now click on Test Connection. You should get green ticks against Authentication and Authorization.
  • If you followed the optional stage 4, enter your chosen host name in the host name field. Leave blank if you didn’t do that stage.
  • Finally click OK. Your new site will be created.

The last thing we need to configure within IIS is to tell it to treat index.php as a default document:

  • Ensure your new site is selected in the site list on the left hand side (beneath Connections)
  • Double click on the Default Document icon
  • Right click in the table and select Add…
  • Enter index.php and select OK

Now restart the web server:

  • Select the top level item below Connections on the left hand side of the IIS windows (it should be the name of your computer).
  • Click on Restart below actions on the right hand side.

One thought on “Replacing my fixed home page with a private CMS and blog using IIS and WordPress on Vista

Comments are closed.