HostGator Web Hosting Help
Pushing Website from old host to HostGator.sg
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 HostGator 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.gzThis should have moved much, if not all, of your website's documents.
Knowledgebase Article
243,992 views
bookmark
share
tags: file host site transfer transferring
Share or save this via:
Recommended Help Content
I need to transfer my website from my old host to HostGator, but I do not know how to do it without losing files or mail.
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. My website's content doesn't contain any objectionable material.
Knowledgebase Article
339,052 views
tags: access block blocking censor censorship china domain firewall people peoples project proxy shield site view website
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.
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,242 views
tags: backup cpanel dedicated hosting restore server transfer vps
This article explains how to transfer you drupal website from Drupal Gardens to HostGator.
How to restore individual files or folders with the Site Backup & Restore tool
Is SSH/Shell access enabled by default?
How do I upload my web site?
You have invested a significant amount of time creating and perfecting your website, and you're ready to publish it for the world to see! Are you really though? Use this checklist to ensure your site is ready for publication.
Knowledgebase Article
84,116 views
tags: checklist guide list practice publication publish site website
The website is taking a long time to load. It just seems slower today than normal.