Move a domain to PS

From DreamHost
Jump to: navigation, search


Move a domain to a PS server.

This video walk through will show you how to move a domain to a PS server after it has been added to your account.

Video button.png

If you'd like to do this manually, you can do so by creating a new user on the PS itself and then copying all the data from one user to the other for the domain in question. The command that I find best for this is the 'rysnc' command:

Here are my notes to remind myself in case I have the wrong syntax for whatever reason:

rsync -e ssh -av verbose and keep files as they are (permissions,group,etc). transport everything over ssh
verbose meaning that it will write out everything it is doing on screen
rsync -e ssh -av source dest
how the paths should be set up. source being where the files are being rsynced _from_ and destination is where rsync is copying the files over _to_

There is some slight syntax changes depending on what you want to copy over as far as if you want to copy an entire folder and its contents or just the contents of a folder:

/home/user copies everything in folder and the folder itself
/home/user/ copies just the contents in user

You may want to take a look at:

So your syntax should look something like this (assuming you are doing this from the shared server):

rsync -e ssh -av /home/<user>/ <user>@<>:/home/<user>/

So if you have user1 on shared and user2 on ps9999 then it should look like:

rsync -e ssh -av /home/user1/

Please also note that for security reasons, you will not be able to have an admin user associated with any domain you have set up.

If you have any trouble with this or have any questions, please contact our support team!