Jump to content

setting up small hosting package automatically with a domain registration


ninak

Recommended Posts

  • 2 months later...
yes, simply create a 25 / 50MB cPanel account and set WHMCS up to create this account for the user. Now, in WHM, just limit the feature of this package to email / webmail / DNS only :)

I understand this but this way the package has to be set up manually for the client. What I would like t know is if someone has a way that sets it up automatically when the domain is registered and paid for.

Link to comment
Share on other sites

There seems to be no place to set up an automatic package with just domain registration. I do know how to create the package but I can't find where to limit it to just domain registration service for automatic setup.

Link to comment
Share on other sites

There seems to be no place to set up an automatic package with just domain registration. I do know how to create the package but I can't find where to limit it to just domain registration service for automatic setup.

 

I assume it would be possible to do this using Action Hooks.

You could put a hook on 'AfterRegistrarRegistration', which would check if the domain was linked to a hosting package and if not, create one in WHMCS for it.

 

I've not done this myself, but from looking an the logic behind it I can't see why it wouldn't be possible.

Link to comment
Share on other sites

Don't set it up as a domain, set it up as a product. For example:

 

Domain + (FREE DNS + EMAIL HOSTING) - 10.99

 

Make the package require a domain, make the domain free, and make the package automatically setup in cPanel. Then, depending on your registrar settings.. Setup the domain to automatically register!

 

Hope that helps!

Link to comment
Share on other sites

  • 2 weeks later...

create the package on whm

 

create it on whmcs set it to

  • recurring - all prices disabled except (annual and biennial set to any positive value preferably a high one)
  • hidden from order form
  • require a domain name
  • automatic creation.

 

Create A Promotional Coupon Set to

  • recurring - uncheacked
  • percentage
  • value - 100
  • cycles - annual and biennial (only cycles priced
  • applies to - specific hosting product
  • requires - specific domain extentions
  • apply once

 

perform some check

  • check for the coupon
  • check if this is a valid offer for the domain extension
  • check the domain is not being ordered with a different package
  • check if the offered package exists in whmcs

 

All checks out then perform action hook

  • Order The Package with the domain name specified for for the length of time of teh domain registration annual - biennial
  • Await result from registrar
  • Activate the specified package on sucessful registration or domain
  • Send Email to client with details etc etc

 

If the coupon checks etc dont validate just perform the domain ordering as per normal without and action hook. By setting to a one time coupon, the domain renewal will trigger a new package update with the coupon code this paying the new invoice if renewed. the package will thus terminate accordingly of the domain is not renewed with you.

 

further action hooks for checking if the offer exists on transfer away from you will be required to terminate the package accordingly

 

A little long winded it may seem. But this would allow offer a free service with a domain name without going through the process of ordering a hosting package. a simpler order process for the domain registration means a much faster order process and more conversions.

Edited by disgruntled
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated