Skip to main content

Switch domains between accounts?

Comments

5 comments

  • Eminds
    you can rename the domain name itself , go to WHM -> Account functions -> Modify an account, You can easily change the domain name on the account, do not attempt to change the username, that could broke your scripts configuration as databases use that username.
    0
  • cPanelLauren
    You'd need to modify both accounts: 1. Modify the example.com account to something other- old.example.com for instance 2. Modify the dev.example.com account to example.com 3. Once that's done you'd need to update details for any CMS installations you have.
    0
  • key-bo
    thnx this seems more reasonable than previous answer i'll give it a try. by updating details for cms you mean that ftp and databases credentials will stay unchanged for account and i have to manually change them in cms config files?
    0
  • cPanelLauren
    by updating details for cms you mean that ftp and databases credentials will stay unchanged for account and i have to manually change them in cms config files?

    I mean, most CMS softwares have a Site URL or in the instance of wordpress a Wordpress Address that will reflect the previous domain name, you'd need to update that to the new domain name.
    0
  • key-bo
    thanks . it worked. also need switch contents of accounts ssl directory. hope that helps to someone else.
    0

Please sign in to leave a comment.