The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Create subdomain automatically

Discussion in 'cPanel Developers' started by JhonathanReis, May 29, 2011.

  1. JhonathanReis

    JhonathanReis Registered

    Joined:
    May 29, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hello everyone!:)
    I want to give my clients the option to create a subdomain for them to build their sites.
    I'm layman on the subject if talk some bullsht excuse me.
    I want to create a page where my clients may create subdomain on my main domains that are added in cPanel,'ve looked everywhere and have not found anything that could help me.
    To understand better see this page, that's exactly what I want to do
    /http://www.hdfree.com.br/novaconta
    If you notice in (account information) you will see that the customer enters the desired name and automatically says it is available or not, and there are also two options for domain, in my case I have 7 domains in which my clients could create their subdomains.
    Sorry for my bad English. :rolleyes:
    Thank you in advance for all responses.
     
  2. cPanelDavidN

    cPanelDavidN Integration Developer
    Staff Member

    Joined:
    Dec 17, 2009
    Messages:
    571
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Hi JhonathanReis,

    It is possible to do what you want, but you'll likely want to hire a developer if you not familiar with programming. But that is your choice ;)

    To accomplish those tasks you'll need to use our cPanel APIs, which you can find documented here.
    Specifically, you'll want to look at these modules and their functions:
    SubDomain
    DomainLookup

    Best Regards,
    -DavidN

    Also, we have a DiscussĂ”es em PortuguĂȘs if that is more comfortable :)
     
Loading...

Share This Page