Deploy / Migration a WordPress Site to Windows Platform

If you want do it manually.  This is the article for you.  http://wp.smashingmagazine.com/2013/04/08/moving-wordpress-website/

There are plenty of paid solutions for this.  Two promising options include:

  • Backup Buddy ($50)
  • UpdraftPlus (The migrate add-on costs $30)

However, I am reviewing a FREE option here: Duplicator.

Here are some quick steps I used to create a windows 2012 production server at AWS:

  1. Launch an instance with Windows 2012 Base.
  2. Add IIS 8.0.  Be sure to select CGI in the role selection. How-to.
  3. Install WordPress via Windows Web App Gallery.
  4. It will create a MySQL database.  Be sure to click on the finish page link to copy the database information to your clipboard.  Paste that to a notepad and save it to a secure place.  You will need the database name, database username, and the password.
  5. Within IIS, recycle the application pool for the WordPress to make sure there are no files locked.
  6. Delete all folders within your newly created WordPress website physical directory (e.g. c:\inetpub\www.xxxx.com\)
  7. Install and run Duplicator on your source WordPress site.  You need to copy both the installer file and package file to the target website physical directory (e.g. c:\inetpub\www.xxxx.com\)
  8. Make sure your website has the appropriate hostname (e.g. http://www.xxxx.com”), not just “localhost”.
  9. Use a browser and navigate to www.xxxx.com/installer.php
  10. On Step1: enter the saved database name, username, and password.
  11. Check “Table Removal” to delete existing tables in the MySQL database.
  12. On Step2, leave everything as it is.  For me, changing the New Settings URL & Path only screwed up the migration.
  13. Verify that your new production wordpress site actually works.
  14. Follow the steps to resave permalinks and clean up installation files.

One final tip: Everyone temporarily.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s