Skip to main content

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邮件列表 推送。
如果您不想继续收到该邮件,可点此 退订

Comments

Popular posts from this blog

How to find ideas to post new article in your blog

How to find ideas to post new article in your blog    阅读原文»   It is true that sometimes being a blogger may face situations where I would personally like to call it your brain juices got dried up as you have pretty much ran out of topic to blog and you are in crisis as your readers are anxiously waiting for your new posts but you are unable to give in. That’s when you will probably come with excuses like I just posted last week although that post was more directly towards the newbies who stop themselves from making money but it’s still pretty much the same even though you consider yourself not a newbie. The fact is that ideas are everywhere and I mean everywhere if you know where to find it and know how to leverage it. You may be surprised that sometimes these ideas are just right in front of you but you are not observant enough to convert these ideas and turn it into your blog post. Today I will share some tips on where to get these ideas and...

Over A Year After Android Launch, ShopSavvy Finally Comes To The iPhone

ShopSavvy was one of the best early Android applications. It launched in October of last year after winning one of the initial Android Developer Challenge top prizes (when it was still known as GoCart). But despite the success it has seen on Android, one question remained: When would it be available for the iPhone. Today, it finally is. Developed by the guys at Big In Japan , ShopSavvy is an app that allows you to use your device as a portable barcode scanner. You point your phone's camera at any barcode and it will read it, do a product look up, and give you information about the product, as well as where you can find it online or at nearby stores and for how much. Obviously, something like this is a window shopper's dream. ShopSavvy was one of the best early Android applications. It launched in October of last year after winning one of the initial Android Developer Challenge top prizes (when it was still known as GoCart). But despite the success it has seen on Android, o...

Lindsay Lohan Breakup Confirmed by Lohan, Locksmith, Police [Gossip Roundup]

Farewell, last season's Suri Cruise fashions. Goodbye, Amy Winehouse's bathing suit. Adieu, humanoid version of Lauren Conrad. And so long, LiLo and SamRon's fairytale romance. Lindsay Lohan confirmed her split with Samantha Ronson and insisted the decision was part of a very healthy and mature effort to " focus on myself ." Upon hearing this, Ronson changed her locks and discussed a restraining order with police, so confident was she in Lohan's ability to turn productively inward. Lohan promptly had a run-in with the police . Who would have imagined such a messy breakup for this model relationship? Courtney Love's lawyer, on her client's drug-fueled plunge into broke-ness: ""Courtney noticed the money was gone when there wasn't any left." Deadpan gallows humor: the only possible response to having Courtney Love as a client. (Besides asking for a hefty retainer.) [ P6 ] Before Lauren Conrad's contract expired in March, MTV...