Using WHM and cpanel to copy a live website to staging

Easy transfer

Using WHM/Cpanel is one of the easiest ways to copy a website from one server to another. This comes in handy when you need a second website such as a staging website. You can easily transfer the website from the live server to the staging server with a few clicks of the mouse. Using WHM/Cpanel to copy a website to another server is our preferred way to transfer a website.

Naming staging domains

All staging websites must include the original domain name minus the dots. Eg marcwatts.com.au becomes marcwattscomau.crystalstaging.com.au If you need to make two staging websites you would then use marcwattscomau2.crystalstaging.com.au as the second domain. This ensures our scripts are able to determine which website is which and set configuration details correctly.

Transferring a cpanel live to staging summary

  • In the filter box type in transfer and click on Copy an Account from Another Server With an Account Password.
  • In Server to copy from (IP or FQDN): enter in your domain of the website you wish to copy
  • In Username to copy: enter in the cpanel username of the website you wish to copy.
  • In User's password: enter in the cpanel password of the website you wish to copy.
  • Unclick Permit fallback to old system (see above).
  • Click Copy Account and wait a while. If the website is large it can take an hour to complete otherwise it may just take a few minutes.
  • Once completed, type in list in the filter box.
  • Click on List Accounts.
  • Click on the plus sign next to the website you just transferred.
  • Click on Modify Account.
  • Modify Primary Domain with your new domain name, eg marcwattscomau.crystalstaging.com.au or marcwattscomau2.crystalstaging.com.au. Ensure that your domain contains the full domain name in the name of it such as marcwattscomau. This is because certain scripts read the full domain to determine certain settings.
  • Click on Save.
  • Add in your new subdomain into our domain system and then visit the website. You may have to make modifications if the website is redirecting.

Transferring a cpanel live to staging

  • In the filter box type in transfer and click on Copy an Account from Another Server With an Account Password.cpanel live to staging transfer
  • In Server to copy from (IP or FQDN): enter in your domain of the website you wish to copy.
  • In Username to copy: enter in the cpanel username of the website you wish to copy.
  • In User's password: enter in the cpanel password of the website you wish to copy.
  • Unclick Permit fallback to old system (see above).cpanel live to staging transfer details
  • Click Copy Account and wait a while. If the website is large it can take an hour to complete otherwise it may just take a few minutes.cpanel live to staging transfer startedcpanel live to staging transfer complete
  • Once completed, type in list in the filter box.
  • Click on List Accounts.cpanel live to staging list accounts
  • Click on the plus sign next to the website you just transferred.
  • Click on Modify Account.cpanel live to staging list and modify
  • Modify Primary Domain with your new domain name, eg marcwattscomau.crystalstaging.com.au or marcwattscomau2.crystalstaging.com.au. Ensure that your domain contains the full domain name in the name of it such as marcwattscomau. This is because certain scripts read the full domain to determine certain settings.cpanel live to staging modify domain
  • Click on Save.cpanel live to staging modify domain save
  • Add in your new subdomain into our domain system and then visit the website. You may have to make modifications if the website is redirecting.