Jump to content

Create subdomain using a link


savont

Recommended Posts

Hi,

Currently you can use a link to open a webpage on whmcs eg

http://www.myexistingwebsite.com.au/cms/cart.php?gid=1

 

can you create a subdomain or get a webpage to open to register a subdomain using a link like this?

eg http://www.newsub.myexistingwebsite.com.au/cms/cart.php?gid=1 (or whatever that number is)

 

My idea here is,

the link itself could be called from any windows application,

 

it is just a matter of in a vba application of doing something like this..

registering the subdomain as something that is checked for its existence.

 

dim newsub as string

newsub = "usersserialid" 'eg hard disk id or something else

 

'now just follow hyperlink

"http://www." & newsub & ".myexistingwebsite.com.au/cms/cart.php?gid=1"

 

the user then registers that new subdomain via whmcs and pays etc.

 

then you just get the vba app to check if the subdomain exists, they are licensed if its true.

Voila. a licensing system you can call from any windows application.

All of whmcs is designed to control payments and all this domain stuff.

 

the point here is

how can you create a subdomain or get a webpage to open to register a subdomain using a link in whmcs?

 

an ideas how it could be made to be done?

regards Gary Larsen

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