Archive for the ‘WHM’ tag
How to edit resolver configuration option of WHM?
In this option you should have to enter either primary or secondary IP address of your provider’s local network’ DNS server addresses. You will need to contact your server provider in order to get the IP address detail of their local network’s DNS server addresses.
From WHM:
Below are the steps to edit resolver configuration from WHM:
- Login to WHM. (http://youripaddress:2086)
- Click on Resolver configuration under ‘Networking Setup’.
From SSH:
You can also do it manually via SSH from /etc/resolv.conf file, if you have a shell access of your server.
- Open /etc/resolv.conf file using vi, pico or nano editor.
- Add the IP addresses provided by your server provider.
- Save file.
Thanks
How Moving site with full backup With SSH or Shell Access
How Moving site with full backup With SSH or Shell Access :-
Step 1: ( Old Hosting Provider )
Request from your hosting provider full backup
or
Go cpanel -> Backups -> Generate full backup
after finish move your full backup to public_html and change permission to 777
save your link example:
http://www.yourdomain.com/your-backup-files.tar.gz
Step 2: ( New Hosting Provider )
make sure you have Ssh/Shell Access if not reqiest from your hosting provider.
login to Ssh/Shell Access
fill up:
cd /home ( click enter )
wget http://www.yourdomain.com/your-backup-files.tar.gz ( click enter )
done. After finish.. do step 3
Step 3:
login to your WHM ( Only Hosting Provider have access for WHM cPanel not Reseller Hosting or Clients )
Backup -> Restore a Full Backup/cpmove file
Enter the username for the account you wish to restore: ( your current username )
click “restore”
done, good luck
How to Move Accounts From One cPanel Server To Another
This tutorial explains a simple, straightforward method for migrating cPanel accounts from one server to another. You can use this method to transfer accounts from an old server to a new one, help customers from another host move to your host, etc. This does not even require root access on one end of the migration. Basically, this is a more reliable method than the “Transfer Account from another Server” tool in WHM, which rarely works.
Requirements:
- cPanel on both servers
- WHM access on the new server (one that the accounts are being moved to)
- root access on the new server
Definitions
The server you are transferring the accounts from = “old server”
The server you are transferring the accounts to = “new server”
Instructions
1. Log into WHM of your new server and create a new account called “restore”, or anything you like for that matter. Remember the FTP address, username (’restore’, in this example), and account password. We will need these for later.
2. Log into the cPanel account you are wanting to transfer on the old server.
3. Click on “Backup >> Generate/Download a Full Backup”.
4. Once here, select the backup destination to be “Remote FTP Server”.
5. Enter your email address for verification, followed by all of the FTP account information for “restore”, which we created on the new server.
-Remote Server: new server’s address
-Remote User: restore
-Remote Password: restore’s password
-Port: 21
Then, click “Generate Backup”. This may take some time to backup the files, depending on how large the account is. You should receive an email provided in the above info once it is complete.
6. Now, log into SSH on your new server.
7. Type in the following commands:
cd /home/restore/public_html ( please double check this link)
ls
After running the list command above (ls), you should see the tar file of the account on the old server. This means that you have successfully sent the file via FTP to your new server.
8. Now move the tar file to your new server’s /home directory with the following command:
mv tar_file_name /home
9. Now, log into WHM on your new server and navigate to “Backup >> Restore a Full Backup/cpmove file”
Once here, you should see the old account’s username under “Possible cpmove archives found:”.
If you do not, log back into SSH and be sure that the account’s tar file has been moved into /home.
10. Type in the account name in the text field in WHM, which is proceeded by “Enter the username for the account you wish to restore:”.
11. Click “Restore”.
12. Repeat process for additional accounts.