Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Question about moving a site and using Modify Account option in WHM

Discussion in 'General Discussion' started by aloeroot, Jul 30, 2010.

  1. aloeroot

    aloeroot Registered

    Joined:
    Jul 9, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    Ontario
    Hi folks. I've got a site that I'm moving to a new server. As opposed to making a straight-out copy of the site, I've upgraded all the software and reinstalled everything from scratch on the new server using a temporary domain name that I needed only for the duration of the reinstallation. We'll call it tempdomain.com.

    As the launch date approaches, I've been counselled to create a "real" account in WHM and to use SSH to copy all the files in the tempdomain account to the realdomain account before I change the DNS entries for the real domain name.

    Do I have to make a new account and copy the files, or can I just use the Modify an Account option in WHM to associate a new domain name with the existing account? Would this have the same effect as creating a whole new account for realdomain.com and copying the files to it? Can I leave the existing username as it is and just change the domain field?

    Next question: if the above idea works, would it affect the databases I've already created? I assume not, as long as I don't change the username for the account. Or would that even matter? I know Cpanel appends the account username to the front of every database name - if the username gets changed for an account, can that account still access those databases?

    Thanks for your help.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice