Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jul 2011
    Posts
    1

    Default Listing Add-on domains only. Not add-on + sub domains

    Hello,

    Can anyone tell me how I can list only the add-on domains for an account in WHM?
    Main >> Account Information >> List Subdomains does not suffice. There must be a file somewhere on the server that has this information. I need this for a bash script that I am writing.

    Regards,
    Colin

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Listing Add-on domains only. Not add-on + sub domains

    Hello Colin,

    There is an API function for listing the addon domains:

    ApiAddonDomain < ApiDocs/Api2 < TWiki

    You could try using the API to obtain that information.

    Thanks!
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads & Tags
Similar threads

  1. Replies: 0
    Last Post: 11-10-2010, 07:13 PM
  2. Replies: 2
    Last Post: 02-11-2007, 02:29 AM
  3. Can I make active domains as add-on domains?
    By RubyRailer in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-18-2007, 11:01 AM
  4. Parked domains and Add-On Domains???
    By theompasio in forum New User Questions
    Replies: 1
    Last Post: 06-29-2005, 12:56 PM
  5. Is there a problem adding sub-domains to add-on domains??
    By DWHS.net in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-08-2003, 04:21 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube