Solved

Shift a website to one server to another server

Posted on 2011-02-26
2
479 Views
Last Modified: 2012-05-11
i want to shift my one website to one whm to another whm without change any settings or password everything
how  can i do this ???
0
Comment
Question by:John-Paul75
2 Comments
 
LVL 5

Accepted Solution

by:
RizyDeWino earned 500 total points
ID: 34986761
There are multiple ways you can achieve this.

1. If you have shell root access then :
on Source node : /scripts/pkgacct CPANELUSERNAME
This will create the backup tar.gz file for the account/domain which would look like :
backup-date-user.tar.gz

2. Then transfer this file to destination server.  scp / rsync etc
 
3. Then on destination server restore account using :
/scripts/restorepkg CPANELUSERNAME

And it will restore complete account with all settings, passwords , dbs etc.


The second way is from GUI of WHM.

1. If you have root logins of source server then use below link on destination server :

 WHM >> Transfers >> Copy an account from another server

options at this link are mostly self explanatory, you need to provide source IP , password , the cPanel username and use the Transfer button to do the transfer.


2. If you have only cPanel logins for the source account then use below link in WHM of destination server :

WHM >> Transfers >> Copy an account from another server with account password

The options at this link are also self explanatory , domain name to be transfered , IP of source server, cpanel username/password and use Copy Account button to do the transfer.


There is yet another way if you have just cpanel logins for the account, you can go to cpanel backups section , download the backup for the account, then upload the backup file to destination server at /home and then use the restore account script mentioned earlier above to restore the account.
0
 
LVL 8

Expert Comment

by:shaunak
ID: 34990214
Wow. @RizyDeWino explained it completely.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Connect to MS-SQL server from Linux/PHP 8 89
Windows Mirrored Raid - Failed HD *urgent* 7 82
LINUX CENTOS + APACHE 9 70
File Screening 1 14
Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question