How to install Wordpress on Windows under IIS - Step by Step - Part 3
January 10, 2008 – 6:53 pmThis is Part 3 of an easy step by step tutorial on how to install Wordpress on a Windows Platform and run it under Internet Information Services (IIS).
If you have not read Part 1 or Part 2 see below:
How to install Wordpress on Windows under IIS - Part 1 .
How to install Wordpress on Windows under IIS - Part 2.
Let’s continue with Part 3.
MySQL
- We now need to create the WordPress database in MySQL. If you have followed Part 1 and Part 2
step by step you should see the "index.php" site on "http://localhost/"- Open a browser and type in "http://localhost/" - you should a page that looks like the image below.
- We have to create a database in MySQL using the phpmyadmin tool. The problem is that WampServer is installed to run under Apache as a default. This means that when you click on "phpmyadmin" under tools you will probably get "The page cannot be found" error. So we have to do a quick work around this problem. If it does open the "phpmyadmin" you can move onto step 6.
- Open the folder that WampServer creates when you install it. That is “C:\wamp\”. Now go into the "apps" folder and copy the "phpmyadmin2.10.1" folder. Now go back once and open the "www" folder. Now go to Edit -> Paste. So the "phpmyadmin2.10.1" folder so now be inside “C:\wamp\www”.
- Rename the folder "phpmyadmin2.10.1" to "phpmyadmin"
- Open your browser again and go to "http://localhost/".
- Click on "phpmyadmin" under tools.
- In the "Create new database" field type in "wordpress" and click create.
- After the database has been created click on "Server: localhost" at the top of the page.
- Click on "Privileges" 4th from the bottom in the list.
- Now click "Add a new User".
- In the "Username" field type in "wordpress" or whatever username you would like to use.
- Under "Host" drop the the drop menu and select "Local".
- Type in a Password in the "Password" field and confirm it in the "Re-type" field.
- Skip "Database for user" section. Default is "None".
- Next to "Global privileges" click on "Check All"
- Scroll down to the bottom and click "Go".
- Now that you have created the WordPress database in MySQL we can move onto setting up WordPress.
-
WordPress Setup
We are almost there and WordPress setup is the easiest part.
- Open the WordPress zip file that you downloaded from the WordPress web site.
- Copy the folder "WordPress" and paste into the WampServer default www folder - “C:\wamp\www”
- After coping is done open the "WordPress" folder and look for the file "wp-config-sample.php".
- Rename it to "wp-config.php" and open it with a text editor. You can even use Notepad.
- You only have to make 3 changes
- Replace "putnyourdbnamehere" with "wordpress"
- Replace "usernamehere" with "wordpress" or your chosen username
- Replace "yourpasswordhere" with your chosen password.
- Save the file and close it.
- Open your browser and go to "http://localhost/wordpress".
- You should see the "Wordpress Welcome" screen.
- Just fill in your details and click Install WordPress.
- Write down your password and Click Log in. If you can change your password in the Admin section.
- That’s It, You’re Done !!! You have successfully Installed WordPress on Windows Under IIS.
If you have found this tutorial useful please link to it from your site. Use the following code:
<a href="http://www.7three.com/blog/computers/tips-tricks/install-wordpress-windows-iis-part1-10/">Install WordPress on Windows under IIS </a>
If you want to find out how to create "Pretty" permalinks without changing IIS’ custom 404 redirects please see below.
Related Posts:
- Install Wordpress on Windows under IIS - Part 1
- Install Wordpress on Windows under IIS - Part 2
- Create Pretty WordPress Permalinks on IIS WITHOUT using 404 redirects


