Solved

Shift a website to one server to another server

Posted on 2011-02-26
2
468 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

757 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now