This site utilizes JavaScript to function correctly. Looks like it's disabled on your browser. Please enable it for your best experience.

For instructions on enabling JavaScript, click here

Skip to main content

Just Host Web Hosting Help

Pushing Website from old host to Justhost.com

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 Just Host account.

               scp archive.tar.gz user@domain.com:
            
Please note that this scp command is also run from your old host's server. Also, "domain.com" 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 244,275 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

I need to transfer my website from my old host to Just Host, but I do not know how to do it without losing files or mail.
Knowledgebase Article 569,067 views tags: transfer upload website

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
Getting Started Article 327,802 views tags: file files filezilla manager setup

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

Related Help Content

We are offering free website migrations for qualifying WordPress websites within the first 30 days after signup. The offer includes the transfer of one WordPress website and the ability to review the site before it goes live.
Knowledgebase Article 94,418 views tags: detail migrate migration offer site website wordpress wp

If you need to transfer or restore a cPanel account for your VPS or Dedicated server, there is a tool within the WHM panel to perform these tasks. This article is about transferring or restoring from another server or restoring after a re-image.
Knowledgebase Article 89,573 views tags: backup cpanel dedicated hosting restore server transfer vps

This article explains how to transfer you drupal website from Drupal Gardens to Just Host.
Knowledgebase Article 52,099 views tags: Drupal transfer

This article will explain how to login to a website created with WordPress.
Knowledgebase Article 644,899 views tags: access admin change dashboard edit login site wordpress

How to restore individual files or folders with the Site Backup & Restore tool
Knowledgebase Article 427,178 views tags: backup files folders restore site

Is SSH/Shell access enabled by default?
Knowledgebase Article 875,618 views tags: bash command line secure shell ssh

How to generate and use SSH Keys
Knowledgebase Article 273,030 views tags: dedicated ssh

How do I upload my web site?
Knowledgebase Article 1,829,705 views tags: ftp site upload uploading web website

** Google ad credits are only available to customers in the United States, Canada, and the United Kingdom at this time.

¹ VAT (Value Added Tax) is not included in our advertised price and will be charged separately and itemized on invoices and billing information. Standard VAT rates based on EU Member State regulations may apply. Learn more.