Pre-requisites

  • Microsoft Windows Server 2008 R2 or 2012

Installation process

  1. Install IIS7/8 with FastCGI support
  2. Download Zend server for windows
  3. Install Zend server and also select to install phpmyadmin and mySQL in that package
  4. Download and install the UrlRewrite module for IIS7 from Microsoft (http://www.iis.net/downloads/default.aspx?tabid=34&g;=6&i;=1691)
  5. Configure IIS for you domain name
  6. Copy all the Magento installation file into that website's wwwroot
  7. Create a database in phpmyAdmin and insert the demo Magento data sql script
  8. Open the web.config file in you web directory and insert this:
     <rewrite>
     <rules>
     <rule name="Imported Rule 1” stopProcessing="true">
     <match url=".*" ignoreCase="false" />
     <conditions>
     <add input="{URL}" pattern="^/(media|skin|js)/" ignoreCase="false" negate="true" />
     <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
     <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
     </conditions>
     <action type="Rewrite\" url="index.php" />
     </rule>
     </rules>
     </rewrite>
     
  9. Start the web installation of Magento and remember to choose the option to use “url rewrite\”.
  10. Enjoy, you now have a Magento installation that runs on Server 2008 and IIS7 and that is very fast and support url rewrite.