May 23, 2011

Zero downtime WordPress migration guide

Zero downtime WordPress migration guide  阅读原文»

We at WPWebHost believe every seconds and minutes counts. So we pledged ourself on making sure all the migration of WordPress blogs are completed without downtime.

I have compiled a short tutorial to help other WordPress users that are considering migrating their blogs from other hosting provider, custom domain WordPress.com, custom domainBlogspot, custom domainPosterous and custom domain Tumblr.

First of all, you will need to get the IP address of your new hostname from your new hosting provider.

Let say the new IP address is xx.xx.xx.xx and your domain name is newdomain.com

Then you will need to export your blog from your existing provider.

For self-hosted WordPress migration, you will need for perform a backup by following below steps.
1. Login via your FTP account to download all of your webfiles
2. Use PHPMyAdmin to backup your MySQL database as .sql file.

Alternatively, you can run a cPanel full backup of your hosting account if you are using cPanel control panel. Then download it via FTP to your local machine. Keep a few backup for safety purpose.

For blog hosted in WordPress.com, you can generate the XML file by referring to this tutorial.

For blog hosted on Google’s Blogspot, you can generate your blogpost via this tutorial.

For blog hosted on Posterous, there should not be any direct way to export a blog from Posterous. Therefore, we believe you use this trick. Then, repeat with the steps on WordPress.com to get your XML file.

For blog hosted on Tumblr, you will need this trick or this trick to get your blog’s raw XML file.

There should be other blog hosted on other provider, try Google it out and find out yourself to generate your own raw blog files.

Then, here comes the magic part.

Warning: Please make a backup copy of your host file before you modify your hostname file so that you can revert back your original host file after the migration is done.

Mac OS X users:

1. Open terminal.app (Application -> Utilities -> Terminal
2. type: sudo nano /etc/hosts
3.type your password when prompted
4. Add this line at the end of file:

xx.xx.xx.xx newdomain.com
xx.xx.xx.xx www.newdomain.com

5. Press Control-O to save the file, press Enter on filename prompt.
6. Press Control-X to exit the text editor.
7. (optional) Flush DNS cache with the command: dscacheutil -flushcache

8. Visit http://newdomain.com and install your WordPress.

9. Try to ping with your terminal and see if it is resolving toxx.xx.xx.xxand install your WordPress

Windows users:

1. Go to C:\Windows\System32\drivers\etc\
2. Open hosts file with notepad.exe
3. Add the following:

xx.xx.xx.xx newdomain.com
xx.xx.xx.xx www.newdomain.com
4. Save.
5. Visit http://newdomain.com.

6. Try to ping your command prompt and see if it is resolving toxx.xx.xx.xxand install your WordPress

Linux/Ubuntu users:

1.Go to Application �> Accessories �> Terminal
2. key in the following: sudo gedit /etc/hosts
3. Under 127.0.1.1 , input the following:

xx.xx.xx.xx newdomain.com
xx.xx.xx.xx www.newdomain.com

4. Click Save
5. Close gedit and terminal.
6. Visit http://newdomain.com

7. Try to ping and see if it is resolving to xx.xx.xx.xxand install your WordPress

After you have completed your WordPress installation, proceed with the blog import via the raw file by referring to this tutorial.

Then try setup your themes, plugins and etc until everything is nice and smooth with the new host. Then revert back your host files to the default files and update the nameserver of your domain to the new nameservers provided by your new host.

There shall be no downtime at all because your blogs are still actively hosted on your provider and when you changed the nameserver, it will be smoothly updated to your new host with readily browsed WordPress site.

It will need around 24-48 hours for your domain to propagate completely world wide, so prevent updating your WordPress in 48 hours to prevent your your work updated on old host.

Done Have fun!

Guess the Meaning Contest: Winner announced  阅读原文»

We are sorry for the delays in posting the results on 21th May as planned. We were out of hands due to some conferences to attend last weekend and unable to announce the winner timely.

Anyhow, here are the answers to the hidden meaning behind the elements we have applied on the new layouts.

The W logo is referring to WordPress.org logo.

The orange logo with 2 person is referring to BuddyPress logo.

The plant on the box is referring to the hosting that helps to grow your WordPress sites.

The shopping cart logo is referring to the WP-e-commerce logo where e-commerce can be powered by WordPress too.

The bb logo is referring to bbPress logo.

The cloud is referring to the CloudLinux hosting that is currently applied on all of the shared hosting account.

The rocket is referring to CDN that helps to speed up your WordPress sites.

The bee is referring to mascot of Exabytes signifyingthe best hosting technology support.

The windmill is referring to environment friendly technology powering our data center.

And who are the 10 11 winners who managed to guess the meaning correctly and creatively and walk away with our WPWebHost official t-shirt.

@mrintech

@iamchampol

@gherhald

@thinkdj

@oasis789

@rohitbatra14

@gerviemacahia

@afublog

@shubhamdev

@funbu

@rommelferns77

And one 1 lucky winner with most accurate answers and creative answers will walk away with

  • an official WPWebHost T-shirt
  • 1 year of premium themes fromElegant Themes
  • $200 worth of Google Adwords coupon
  • official Google T-shirt.

is @izrin96 with the answers he answered as below

The W logo is referring to WordPress.org logo.
The orange logo with 2 person is referring to BuddyPress.org logo.
The plant on the box is referring to WPWebHost.com.
The shopping cart logo is referring to GetShopped.org logo.
The bb logo is referring to bbpress.org logo.
The cloud is referring to WPWebHost.com new background and cloud hosting.
The rocket is referring to Content Delivery Network (CDN) for improving website loading speed.
The bee is referring to Exabytes.com.my mascots.
The windmill is referring to green or Eco-friendly website hosting that wind powered.

Here are the photos of the WPWebHost t-shirt wore by one of our technical support team

and Google t-shirt wore by the @tomaslau previous winner of the giveaways.

Again, we would like to thank you for all the participations. For those, that did not managed to win anything this on this contest, don’t feel bad.

Stay tuned. We are going to release a new contest very soon and this time it is going to be involving a hefty cash giveaways!

阅读更多内容

该邮件由 QQ邮件列表 推送。
如果您不想继续收到该邮件,可点此 退订

No comments:

Post a Comment