Move a domain to PS

From DreamHost
Jump to: navigation, search


The following provides info on moving a domain to a PS server.

Moving a domain from shared hosting to the new SSD VPS

To move a domain from shared hosting to your new VPS:

  1. Create a user on the VPS.
  2. Change the user for that domain.
  3. Choose the option to move the files over to the new VPS.
    You can create a new VPS user by logging in to your panel here.
  4. Click Add A New User.
  5. On the next page, select which server to put it on.
    You'll select "ps#### (private server)" then continue to fill out your user's preferences and click Add User.
    Note2 icon.png Note: You may have to wait a half hour or so for the username to be created. Once you're done there, proceed to the next steps.

  6. Change the user for the domain which can be done here.
  7. Under the Web Hosting column for your domain, click Edit.
  8. Othe next page, where it says "Run this domain under the user", select the new user that you just created.
    An option that says "Move files to the new user?" appears.
  9. Leave that selected and click Change settings.

This may take up to an hour to complete depending on the size of the files that are moving to the PS.

If you have any questions about this, please contact support who are always happy to help.

Manually via rsync

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 we recommend for this is the rsync command. Below are some helpful notes for using this command:

rsync Syntax

rsync -e ssh -av
Verbose and keep files as they are (permissions, group, and so on). 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 rsync'ed from and destination is where rsync is copying the files over to.

Copy folder alone vs. Copy folder and its contents

There are 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

rysnc from shared server to PS

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

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

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

rsync -e ssh -av /home/user1/

Additional notes

  • 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!

Video tutorial

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

Important icon.png Important: This video is out of date. Use caution with the info presented here; we will update this video, so please check back later.

Video button.png

See also