Adding Co-Domains With Remoting User

Discussion in 'Tips/Tricks/Mods' started by kextra1, Oct 19, 2008.

  1. kextra1

    kextra1 Member

    Hello,

    Is there an API Command resource/documentation for the remoting framework?

    I'm trying to do something pretty simple.

    When you create a new web when a user signs up it creates:

    theusersdomain.com

    I'd like the script to also create a www Co-Domain in ISPConfig for the new domain so you'd have

    theusersdomain.com
    www.theusersdomain.com

    If anyone more knowledgeable than me could post some code or point me in the right direction as to how to accomplish this, i'd be very greatful.

    Actually the answer is probably in the remoting framework example haha....wow...forgot to look there...

    Thanks guys,

    kextra1
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The examples for the remoting framework can be found on the ispconfig.org downloads page. If I remember correctly, all available functions are listed in the example.
     
  3. kextra1

    kextra1 Member

    Works

    Well, actually...it creates:

    newdomain.com

    and sets www to the hostname so it does what i need as far as that's concerned.

    I found the solution in the autosignup script from 5s7.com but at first was confused because i was looking for co-domain when they list it as 'subdomains' which i believe is the correct terminology anyways.

    I haven't looked at the ISPConfig source code thoroughly so im not as educated as i'd like to be as far as manipulating ISPConfig through a 3rd party API....I lost my email with my info for the SVN access so i'll hafta reapply for that.

    One request that I would ask of ISPConfig developers is regarding the Forms in ISPConfig stable.

    The Form Creation and editing feature looks very useful and promising! I haven't used it though because i've never used ispconfig3 ...and of course i heeded the warning stating not to attempt anything in stable.

    Thanks again to all the developers that made this great application!
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Not really. A sundomain is a subdomain of the main.domain e.g. sub.domain.com but the co domain feature includes also the ability to add domains that are not subdomians e.g www.otherdomain.com so subdomain is not the correct terminology as it does not describe the feature correctly.

    I guess you mix up ISPConfig 1 and 3. ISPConfig 3 has no form editor, the form editor is in ispconfig 2.
     

Share This Page