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.

XML API for Addon Domain Redirection

Discussion in 'cPanel Developers' started by intrwrks, Dec 11, 2009.

  1. intrwrks

    intrwrks Registered

    Joined:
    Aug 9, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I am using XML API to call cPanel functions from a remote computer. I am having trouble setting/removing the Addon Domain Redirection. I am trying to call it by using the following url:

    Code:
    https://xxxx.net:2083/xml-api/cpanel?cpanel_xmlapi_module=SubDomain&cpanel_xmlapi_func=setsuburl&cpanel_xmlapi_apiversion=1&arg-0=test.net,test_xxxx.net&arg-1=http://subdomain.xxxx.net
    The returned xml gives the appearance that it has worked properly, but if I log into the control panel, the changes have not been made.

    This same code works for subdomain redirection. Anyone have any ideas?

    Thanks
     
Loading...

Share This Page