SELaplana >> Blogging, Web Hosting >>

How to Transfer Your Blog to Another Server without Downtime?

My previous article talks about the steps in transferring or moving your blog from one server to another. On this article, we’ll still be talking about moving a blog from one server to another but this time we’ll be avoiding the blog’s downtime.

I guess, you already knew that blog downtimes will lead to the loss of traffic and loss of your blog’s income as well. That’s the reason why we need to avoid blog’s downtime when moving your blog from one server to another.

This post is actually inspired by the question asked by Ark which goes:

While I’m in the process, my site will be down for that period right?

If so, how can I put a message like, “This Site is Undergoing Maintenance” or a similar one?

So, instead of putting a page that says “This site is undergoing maintenance” especially when you’re in the process of moving your blog to the new server, why not find ways of avoiding downtimes?

So, how can we move our blog to the new server without experiencing the blog’s downtimes?

Okay, here’s the steps:

1) Open a hosting account from the new webhost.

I understand that you’re planning to move your blog from your current webhost because you’re not contented with the service offered to you by your webhost. Maybe your blog frequently experience downtimes, just like what this blog of mine had experience before.

In other words, you will be moving your blog to a webhost which for you is better than your current webhost.

Consider first reading my previous articles listed below.

Now, once you already found the right webhost which you think could cater your blog’s needs, then sign up an account from them.

Before doing the next steps, make sure that your webhosting account and the servers for your account are fully set up already.

But you should take note of the following:

  • temporary FTP URL.
  • Your account’s username.
  • Your account’s password.

2) Upgrade your current Wordpress engine.

It is better if you upgrade first the Wordpress engine of your blog. We are assuming here that the Wordpress software that will be installed into the server of your new webhost is the latest version of it. Upgrading your Wordpress to the latest version will lead you to upgrade your database too, making your blog’s database compatible to the Wordpress that will be used in your new server.

3) Download your blog’s files.

Check all the files of your blog and download them from your server to your computer.

Usually, the important files of your blog are found in the folders:

  • wp-content/uploads. This folder contains the images you uploaded while writing blogposts.
  • wp-content/themes. This is where you blog template files are stored.
  • wp-content/plugins. This is the folder of the Wordpress plugins you used in your blog.

It would also be better if you’ll just include the following files which are all found in the root directory or sometimes in the Wordpress directory.

  • favicon.ico
  • sitemap.xml
  • sitemap.xml.gz

And there might be other files other than these. You know better your own files, so just check your files in the server.

You need to use an FTP client in doing these processes.

4) Download your blog’s database.

Before downloading your blog’s database, optimize it first. How? Here’s the steps:

  • Login to your blog’s admin panel at “your-blog-domain.com/wp-admin/
  • Open the Spam Comment page.
  • Delete all the spam comments caught by the Akismet plugin.

Then access your database using “MyPHPAdmin” script. Almost all webhost have this script.

Next, check the database tables that exist in your blog’s database. Usually, your Wordpress blog’s database has these tables:

  • wp_comments
  • wp_links
  • wp_maincounts
  • wp_options
  • wp_postmeta
  • wp_terms
  • wp_term_relationships
  • wp_term_taxonomy
  • wp_usermeta
  • wp_users

If you found tables other than that, those tables are most likely created by the Wordpress plugins your blog is using. It’s your discretion whether to drop them or not. But those tables will only make your database large.

If you are using the plugin that send emails to the commenters or commentators, I think, it would be better if you will just delete all the data in the wp_users and wp_usermeta except the data of your own admin user.

5) Install Wordpress into your new server

You might be wondering if you can really access your new server without changing first the DNS of your domain. That might be true that you can’t access your account if you are going to access the CPanel of your new webhosting account using the domain of your blog which is currently using the DNS of your current webhost.

But there’s another way of accessing your CPanel of your new webhost without using the domain of your blog. This time, we will be using the other domain that is hosted already by the same server of your new webhosting account.

So, you need to know first what domains are hosted by that server. You can ask your webhost about it. I’m sure they’ll give you one.

However, if your new server is a VPS or Dedicated Server, then you need to use another domain of your own, and add this domain into your webhosting account as your additional hosted domain. After that, change the DNS of that domain into the DNS of that server.

Once the DNS changes have been totally resolved, access the CPanel using that domain that is using the DNS of your new server. Usually, in accessing the CPanel, you just point your browser to “domain-in-your-new-server.com/cpanel” or “domain-in-your-new-server.com:2082” without the quotation marks.

However, if your new webhost is DreamHost or other webhosts that have similar system used by DreamHost, then here’s what you need to do:

  • Login to your Dreamhost account.
  • Add new domain to be hosted  into your DreamHost account. This domain should be the unused one.
  • Go to the “One-Click-Install” feature of DreamHost and Install the Wordpress (Advance option) to the new domain. Make sure to create a new database server, ie. “msql.your-unused-domain.com” without the quotation marks. Take note also of the database name, database user and database user password. You will use this in your wp-config.php file.

6) Upload your files to your new server

Just like what we did on the previous step,we will use other domain hosted by your new server as your access key to access your account.

Use FTP client here. In the FTP URL, enter the domain you know that is hosted by that server. But the username and password should be the username and password for your webhosting account. Then upload all the files to the right or proper folder.

After uploading all the files, CHMOD the “.htaccess”, “sitemap.xml” and “sitemap.xml.gz” files to writeable using your FTP Client. If you don’t know how to do it, read my article, “How to CHMOD files using FTP client software?

However, if your new server is a server from DreamHost or other webhost with similar system, upload the files using the temporary FTP URL that the webhost has given you.

7) Import your blog’s database

Access your CPanel just like what we did on the step 5. Then click the MySQL icon at the CPanel. In the MySQL page, open the “PHPMyAdmin”. Usually the link to “PHPMyAdmin” is found at the bottom of the page.

While you are at the “PHPMyAdmin”, empty or drop all the database tables found in the Wordpress database. Then import your blog’s database or the database dump that you downloaded in step 4. If your database is large enough to be uploaded using the “PHPMyAdmin” script, do the steps in importing large database that I wrote before or if not, you can just divide the database dump into several files and import them one by one.

If your server is one of the servers of DreamHost and similar webhost, access your database using the URL “mysql.your-unused-domain.com” that I mentioned in step 5. The username and password are those I told you to take note in step 5. Then import the Database. However, you should know that DreamHost and similar webhosts are more strict in the file’s size and memory limit. So you need to divide the database dump or the database that you downloaded earliear into several files. If you don’t know how to do this, I think I need to write a separate article about that.

8) Change the DNS of your domain

So, it’s now time to change the DNS of your domain. But make sure that your account from the old webhost is still live so that your visitors can still access your blog even if the DNS changes is not yet totally resolved.

The Result?

With that steps, your blog’s visitors will never found problems in accessing your blog. They won’t even notice any changes in your blog.

If you don’t understand something from what I’ve written, kindly drop your comment at our comment section or just reply the email you received if you’re a subscriber of our blog’s feed.

Tweet This
Bookmark and Share
Tweet This!

Comments

31 Responses to “How to Transfer Your Blog to Another Server without Downtime?”

  1. Salwa says:

    Nice blog post. I recently transferred a client blog to another server. Wish I knew about this post then!

    • Selboy says:

      I guess you’re running a webhosting company… if so, then you should know about the ways in moving a site from one server to another without experiencing downtimes, especially if both the source server and the target one are both yours.

  2. ark says:

    Wow, medyo complicated pala, hehe.. BTW, ploghost din gamit ko. Sa iyo ba ung site daw na ginamit ng mga phishers?

    • Selboy says:

      Actually, the steps I wrote above are just the realization after moving my blogs from one server to another and one webhosting company to another.

      Tungkol don sa sinabing ginamit sa phishing, di ko alam dahil di naman po nila sinabing website ko yun. Di ko rin alam kung iisa lang ang server natin noon. Nong nasa ploghost pa ang blog na ito ay nasa Gravatar server ito.

      But I remember po na minsang ininform ko sila about the downtimes, then after that they informed me na meron silang nahuling site na nagspamming na siyang cause ng downtimes.

    • Selboy says:

      I checked your domain using whois tool and I found out na ang blog niyo po ay hosted by ns19 and ns20. Ang blog ko pong ito noong nasa ploghost pa ay hosted by ns23 and ns24 na server. In other words po yung site na ginamit sa phishing na kinuwento sa inyo ay maaring kasama po ng server na ns19 at ns20. kasi hindi naman po maaring maapektuhan ang blog mo kung ang naglokong website ay nasa ns23 at ns24 na server.

  3. Bogie says:

    Thanks for dropping by and leaving a comment on my blog. I like your site. It has a lot of “how to’s”… very informative. God Bless!

  4. thanks for sharing this sel. Now we don’t have to worry about down times kahit palipat lipat pa ng host :)

    • Selboy says:

      welcome…. actually, magwoworry pa rin tayo sa gastos ahehehe. actually I lost almost $700 dahil nagabandon agad ako sa old webhost ko gayong 1 1/2 pa lang ang pag-stay ng blogs ko don after marenew yung account ko.

  5. Mojica says:

    mmmm.. nice one here sa totoo lang that’s the process on moving webhosting without any downtime.

    pero meron pa din yan.. remember that you are changing your nameserver it will affect your site uptime slight lang kung swerte ka..

    sometimes kasi it takes 24 hours to propagate ung new NS mo..

    pero kung malas ka lang nyan ha..

    much better pa din kung meron kang SSH sa new server mo like sa Hostmonster , Bluehost at Dreamhost para easy transfer..

    • Selboy says:

      actually, yan ang dahilan kung bakit kailangan yung old webhosting account mo is still alive para kung sakali yung visitor mo is still accessing the old NS ay maaccess niya yung blog mo at the old server.

  6. Bunsoi says:

    Nice tutorial Sir Sel.

    Looking forward for more. Actually, plano ko na ring mag change ng host by next month siguro. Kasi, nakaka-inis ang host ko, haha.

    Anyways, your blog has been down these past few days na naman. Ironic lang na may post kang ganito with tips on how to avoid blog downtimes, hehe.

    • Selboy says:

      well, inaadjust ko pa yung memory allocation ng VPS ko. There was a time na I adjusted the memory allocation to the minimum kaso hindi nakayanan kaya nagdown.

      Then just before posting this comment, nagdown uli ito dahil sa surge of traffic. Kaya napilitan akong i-adjust yung memory allocation from 350MB to 1GB. Kung bababa na uli yung traffic saka ko ibabalik sa 350MB.

      Medyo nahirapan ang VPS server ko at 350MB lalo pa’t 20 blogs ang hosted nito. And among these 20 blogs 3 of them are high traffic including this “SELaplana” blog.

  7. oo nga pala.. paano kung maraming nag cocomment habang nag lilipat ka? like if you have a thousand visitors per minute, then 100+ doon nag cocomment, maiiwan yung comments sa previous MySQL host database right? kasi habang nag e import ka ng SQL db mo, pa dagdag ng pa dagdag ang data, so yung latest na na dagdag na data hindi na malilipat sa bagong server…

    Unless e off muna for maintenance and blog sa old server. :D

    • Selboy says:

      medyo problema nga yan gaya ng blog niyo :-) . Pero sa tingin ko pwede namang idisable muna yung commenting at Blog’s Admin while exporting and importing the database. pero syempre merong announcement kung bakit temporarily disabled ang commenting.

  8. ceblogger says:

    i’ll take note of this one. i need this in a few weeks time. thanks, sel!

  9. pero kung tutuusin hassle pa rin ang talaga ang pag-transfer ng blog sa ibang server. di ba yung bago mong server puwede naman sila na mismo mag-transfer ng blog mo?

    • SELaplana says:

      medyo hassle nga po. Pero there’s a time na kailanga mo talagang lumipat.

      Regarding sa possibility na yung new webhost ang gagawa ng pagtransfer, actually pwede po yon pero depende rin yun sa webhost na pagtatransfer-an mo. So, if you need their assistance, so bago po kayo mag-signup ng account, mas mabuti siguro kung mag-inquire ka muna about that service.

  10. Bunsoi says:

    I see. Bigla naman akong na nosebleed duon! haha. Di ko na naintindihan. nyak3.

    Low-trafficked pa naman ako eh, so I don’t have to worry much about it — yet. hehe. Nangangarap na maabot ang status ng mga blgos niyo traffic-wise and err.. adsense-wise! hehe.

    • SELaplana says:

      :-) anyway, mauunawaan mo rin yun. I am planning to write an article about the VPS that I got.

      Well, if you’ll work more harder alam kong malalagpasan mo pa ang naabot ko. Lots of the new bloggers who actually surpassed what I got in blogging. I have lots of limitations and siguro sa mga limitations kong yan ay nandyan din ang strength mo.

  11. thanks for the replay sel.. oo nga, the only way is to disable comments nalang muna.. hehe :D

  12. Richard says:

    That

  13. Banxietyy07 says:

    ang mahal pala ng VPS. haayz.

    • SELaplana says:

      mahal nga po, but it’s the best thing to have especially if your blog or website is busy enough to shut down a shared server.

  14. Chris says:

    sir sel can u help me out, im having a problem in transfering my site.

    can u email me back for a reply.

    thanks a lot.

  15. Chris says:

    sir sel wala po me narereciv na email..may i know you contacts po..just email po ulit sa
    chrisastadan@yahoo.com thanks a lot.

  16. chris says:

    sir sel..thanks pala dito sa blog post mo na tohh..naging guide ko to sa pagtransfer ko and it seems successful ang transferring..

Trackbacks/Pingbacks

  1. [...] How to Transfer Your Blog to Another Server without Downtime? [...]

Leave a Reply

Search Lyrics by Artists: 0-9 - A - B - C - D - E - F - G - H - I - J - K - L - M - N - O - P - Q - R - S - T - U - V - W - X - Y - Z

Marketing / SEO Top Blogs TopOfBlogs Internet Blogs - BlogCatalog Blog Directory tracker Technology & Computers - Top Blogs Philippines Top Marketing SEO blogs Marketing & SEO Blogs