Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Mar 2010
    Posts
    8

    Default Account Duplication

    Hi guys, I'm pretty sure this is doable via SSH, but wondered about WHM's inbuilt functionality.

    I want to setup 5 accounts all with EXACTLY the same data and database in. So much so each one looks no different when navigated to. Even the databases hold the same information.

    I'd just like to call them site1, site2 etc for now. I will go along later and edit the account names when they become active, as they are to be inactive accounts until purchased.

    How is this possible and what's the most efficient way of doing it?

    Cheers.

  2. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,892
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    Not sure I understand, but you can add any files you like to the cpanel3-skel of the user who creates these accounts. When an account is created the system will copy over all files located in that directory, to the users account.

    As for creating a database on account creation, you can do this with cPanel's API. There are multiple threads around the forums that you might find useful, including this one on that topic:
    http://forums.cpanel.net/f42/how-aut...on-148065.html

    Between those two suggestions you should be able to whip up something that suits you.

    HTH

Similar Threads & Tags
Similar threads

  1. Filed with Developers Search for Suspend / Unsuspend an Account function in WHM [Case 57215]
    By DjiXas in forum Feature Requests for cPanel/WHM
    Replies: 8
    Last Post: 02-22-2012, 09:10 AM
  2. Account Creation Limits refers to WHM account or cPanel account?
    By alphareseller in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-01-2011, 07:02 PM
  3. cpanel account file not created, account invisible in WHM
    By Cristi4n in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 01-04-2007, 09:13 PM
  4. Transfer Error (WHM) Copy an account from another server with account password
    By minasonline in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 06-22-2003, 09:08 AM
  5. File duplication exceeding disk usage
    By tami in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-14-2003, 10:51 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube