The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Duplicating an account for testing

Discussion in 'General Discussion' started by mealto, Aug 16, 2009.

  1. mealto

    mealto Well-Known Member

    Joined:
    Oct 20, 2006
    Messages:
    175
    Likes Received:
    0
    Trophy Points:
    16
    Is there a way to use WHM to duplicate an account (account1 running www.domain.com) so that we can test on a new domain? (account2 www.domain2.com)? We would have domain2.com password protected of course. We would not need the emails, just everything under public_html and related databases. Any ideas?
     
    #1 mealto, Aug 16, 2009
    Last edited: Aug 16, 2009
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,482
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Why not work from a directory instead? You can create additional databases and then copy the content from one to the other, easy enough via cPanel's PHP MyAdmin, and you can highlight all files you need in public_html and copy to a new directory via cPanel's File Manager.

    Short of that, you'd need a domain for use to do what you'd like, or, create a new account using a subdomain of the original. test.yourdomain.com and copy over what you need manually.
     
  3. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    Hi,

    You can do it within your domain itself. Create a require database and directory. Set that directory as password protected and perform the operation that you would like to test. In this case there is no need to setup additional domain on the server.

    Once you complete the testing you can move the contents where you would like in public_html or any other sub directory of that domain.
     
Loading...

Share This Page