Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Oct 2008
    Posts
    5

    Default Add Bulk Websites to WHM

    There is anyway i can add bulk website into WHM instead of creating it one by one. On Terminate Multiple account i can just terminate multiple, i want to do the same thing with adding a new account (add new site) into WHM

    If there is a way please give me a hints and instruction how to do it?

    thanks

  2. #2
    Member
    Join Date
    Dec 2001
    Posts
    746

    Default

    You can use the XML API function createacct to do this. You'll need to write a script to pass the requests to WHM. XML API documentation is here:

    http://www.cpanel.net/plugins/xmlapi

    If you want to do it locally, you can run /scripts/wwwacct with the required parameters (run it with none to see what's needed). You could automate this through a shell script.

    Please let me know if you need more information or have any questions.

  3. #3
    Member
    Join Date
    Oct 2008
    Posts
    5

    Default

    HI assuming i dont know anythign about programming but i know how to click

    there is any easy way and give me instruction how to do it step by step

    i would really appreciate it. I really need it to upload 100 sites to this WHM asap

    thank you for your quick response

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by cpanel911 View Post
    HI assuming i dont know anythign about programming but i know how to click

    there is any easy way and give me instruction how to do it step by step

    i would really appreciate it. I really need it to upload 100 sites to this WHM asap

    thank you for your quick response
    If you're not the coding type, I'm going to assume you're also not going to be comfortable using the command line either.

    A shortcut for creating accounts is to first create a package which has all the permissions you wish to grant the accounts (bandwidth, disk quota, number of subdomains etc.). You can do this in the Packages section of the WHM interface.

    Next, when you create your accounts, just select the package and that will save time. It doesn't make the process of creating an account 1 at a time less tedious, but it speeds up the process without having to go into the command line or coding, two common methods used to automate processes like this.

  5. #5
    Member
    Join Date
    Oct 2008
    Posts
    5

    Default

    HI thank you for your response, but i need to add the domain one by one. I know about creating pacakge but i was wondering if there is any easy way that i can list down the list of the domain then just upload it

    OK assuming i know a bit about xml , isn't this is somethign like i need to use the XML format like you are doing google sitemap something like that just follow the attribute given by the website you address me earlier, is that correct?

    Now my confusion is once im done with the XML file, where am i going to upload this file and i need to save it as XML

    Am i correct?

    thanks

  6. #6
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by cpanel911 View Post
    HI thank you for your response, but i need to add the domain one by one. I know about creating pacakge but i was wondering if there is any easy way that i can list down the list of the domain then just upload it

    OK assuming i know a bit about xml , isn't this is somethign like i need to use the XML format like you are doing google sitemap something like that just follow the attribute given by the website you address me earlier, is that correct?

    Now my confusion is once im done with the XML file, where am i going to upload this file and i need to save it as XML

    Am i correct?

    thanks
    With our XML APIs, you don't create XML files - you are simply passing some parameters to a URL - similar to customizing a search query in your browser's address bar. For example, the sample URL provided in our documentation for createacct:

    Code:
    https://server:2087/xml-api/createacct?username=myuser&plan=basic&ip=0&cpmod=x3&password=h@rd2gu3ss!p@ss&contactemail=username@domain.tld&domain=domain.tld&useregns=0&reseller=0
    Of course, this is intended for use within code to automate repetitive tasks such as this.

  7. #7
    Member
    Join Date
    Oct 2008
    Posts
    5

    Default

    So i still need to do it manually for 100 domains i have isn't since im just parsing the url it means just to make my job easier but not much much easier

    i still need to fill those information within those fields right?

    thanks

Similar Threads & Tags
Similar threads

  1. Bulk utility to Add "A" Entry
    By crazyaboutlinux in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-23-2010, 08:37 AM
  2. Bulk utility to Add DNS zone
    By crazyaboutlinux in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 01-20-2010, 08:05 AM
  3. Bulk add of email accounts
    By GypsyMage in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 03-24-2006, 10:27 AM
  4. Point Domains in bulk via WHM?
    By NeedHelp in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-07-2004, 06:38 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube