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.

Sub Domains

Discussion in 'General Discussion' started by aimbum, Feb 10, 2008.

  1. aimbum

    aimbum Registered

    Joined:
    Dec 26, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Is there a way to create a sub-domain with out using fopen?
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    You could call the API1/API2 function that the X3 theme uses to create a subdomain and call that from the XML-API. Keep in mind the X3 theme is built on top of these APIs so nearly anything you can do via X3 can be done via the APIs.

    You can find the code of the X3 theme in /usr/local/cpanel/base/frontend/x3/
     
Loading...

Share This Page