Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 19th October 2008, 23:14
kextra1 kextra1 is offline
Senior Member
 
Join Date: Apr 2008
Posts: 121
Thanks: 12
Thanked 10 Times in 6 Posts
Default Adding Co-Domains With Remoting User

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
Reply With Quote
Sponsored Links
  #2  
Old 20th October 2008, 00:39
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,381
Thanks: 833
Thanked 5,482 Times in 4,316 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 20th October 2008, 01:54
kextra1 kextra1 is offline
Senior Member
 
Join Date: Apr 2008
Posts: 121
Thanks: 12
Thanked 10 Times in 6 Posts
Default 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!
Reply With Quote
  #4  
Old 20th October 2008, 10:17
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,381
Thanks: 833
Thanked 5,482 Times in 4,316 Posts
 
Default

Quote:
which i believe is the correct terminology anyways.
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.

Quote:
The Form Creation and editing feature looks very useful and promising! I haven't used it though because i've never used ispconfig3
I guess you mix up ISPConfig 1 and 3. ISPConfig 3 has no form editor, the form editor is in ispconfig 2.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
Ruby / FastCGI Problem Chad Server Operation 1 8th March 2008 20:38
Strato Server - Restoring with SystemImager popper2001 HOWTO-Related Questions 5 28th July 2007 10:18
log files cruz Technical 3 15th May 2007 14:35
Creating image with Systemimager cuongtim HOWTO-Related Questions 3 18th November 2006 13:55


All times are GMT +2. The time now is 00:58.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.