PDA

View Full Version : About addon domains



ilucano
12-02-2007, 08:21 AM
Hi All!

This is my first post in the forum! :o

I'm trying to get working my solution for domainers. Basically my solution is on an php application that park domains with news, marketing tools and google adsense ads, with just adding some fields in a form (page title, theme, keywords and obviously the domain name!). I have testing it for 2 months and works really fine!, but now I want to offer this solution as a service for other domainers and here is the problem, because I want to make a php that add automatically the domains as addon domains to my hm's account but I can't find nothing to do it.

Anyone knows if this can do it? I know that other hosting services allow resellers and this kind of things can be done, but I don't want to change hm!

Thanks!

Ignacio

leductho
12-23-2007, 09:54 AM
Just point you domain to HM DNS (ns1.hostmonster.com and ns2.hostmonster.com) then use addon domain to add your domain to DM Cpanel. Please note: Addon Domains will not be functional unless the domain name is registered with a valid registrar and configured to point to HM DNS servers

linFox
12-25-2007, 10:58 PM
If you want it to add the domain from within the script, you'll have to emulate the cPanel Addon Domain form.

Essentially, you'll have to:
Authenticate your cPanel username/pass;
POST to the Addon Domain form's action URL with the relavent data;
Parse the result to determine the addition status.