Bluehost Web Hosting Help

Pushing Website from old host to

If your old host has SSH access and you are able to make outbound shell connections from that server, you can do quite a large bit of the file transfer directly from your old server. Please note that this process will only transfer the files located in a specified folder. This will also require shell access to be enabled on your account with us.

Click Here for information on obtaining SSH/Shell Access.

First compress the folder on the old host's server with tar. We are creating a compressed copy of your site folder called archive.tar.gz.

           tar -czf archive.tar.gz /nameoffolder/
This will create a file called archive.tar.gz and should contain your site folder.

Second we push archive.tar.gz to your Bluehost account.

           scp archive.tar.gz
Please note that this scp command is also run from your old host's server. Also, "" can be replaced with your domain name, or the IP address of our server your account is on, which ever one will work correctly.

Next log into our servers through shell, and run these commands. They will first move your archive into the directory you want to unpackage the files into (usually the public_html directory), then change directories to that same one, so you can then extract the archive.

   mv archive.tar.gz path/to/destination/folder/
           cd path/to/destination/folder/
           tar -xzf archive.tar.gz
This should have moved much, if not all, of your website's documents.
Knowledgebase Article 139,382 views bookmark tags: file host site transfer transferring

Was this resource helpful?

Did this resolve your issue?

Please add any other comments or suggestions about this content:

Recommended Help Content

Moving website contents to Bluehost

I need to transfer my website from my old host to Bluehost, but I do not know how to do it without losing files or mail.

Intro to FTP

There are many ways that you can transfer files and folder to and from your hosting account. We highly recommend using an FTP (File Transfer Protocol) program to quickly upload and download files. We

Clients in China Are Unable to View My Website

Clients in China are unable to view my website. My website's content doesn't contain any objectionable material.

Related Help Content

Transferring a Drupal Gardens Site

This article explains how to transfer you drupal website from Drupal Gardens to Bluehost.

Backup and Restore with Site Backup Pro

How to restore individual files or folders with the Site Backup & Restore tool

SSH Access

Is SSH/Shell access enabled by default?

FTP - Uploading the website

How do I upload my web site?

SSH Access - Generating a Public/Private Key

How to generate and use SSH Keys

SSH/Shell access for Resold account(s)?

How to enable/turn on SSH access for Resold accounts

My Website Is Slow

The website is taking a long time to load. It just seems slower today than normal.

How to Login to a WordPress Site

This article will explain how to login to a website created with WordPress.