Knowledgebase

How to achieve the following?

Posted by jagarco, 10-22-2009, 08:13 PM
Hi I've been reselling WHM/Cpanel hosting for like 9 years, I design and develop on PHP(Database related, not server side stuff). I don't know linux nor apache etc. ============== THE IDEA I want end users to be able to create/have a website under a subdomain and with a web builder, automathically, not me setting up accounts. Like companyX.main.com main.com would be mine So... 1) They would just fill a form 2) It would need to check if their email is already on a Database(via PHP I guess) and verify some stuff(I have other projects and plans for this) and if it checks..., then the account is created. 3) The account needs to have a Webbuilder for them to setup a website. Some Cpanel Reseller accounts have already WebBuilders to offer to end users. Would be great if.. A) I can disable features just like if it were a cPanel hosting account(FTP,Email accounts, etc.). I'm not planning to offer to much stuff, just a subdomain and their website. B) I have another project where I need them to register before getting their website acount, so that's why I need to verify if their email address is already on that DB C) I would like the accounts to be very light on server side structure, I don't know.. system files I guess, folders, etc. I mean, if I create an account from WHM I supose the server creates some structure stuff for that domain only..., imagine having 2000 accounts. If I create a subdomain on a Cpanel account, I think it just creates a folder, I think that's very light, but not sure about the features and exclusive rights for each subdomain. I supuse the Webbuilder would not work independently for each subdomain. =============================== Is it possible with an end Cpanel hosting account? Or it will need to be a normal Cpanel account for each subdomain(using the subdomain.main.com as the domain) in order to have individual features.? Does the Cpanel or WHM offers an interfase to create an account without entering the control panel?(like with a form and maybe some PHP) Would I need to go the next level from Reseller? (VPS or Dedicated for having server side rights?). I would really prefere if is possible with just Reseller rights. Otherwise I supose I could get a managed VPS. Thank you very much for you help jagarco

Posted by KMyers, 10-23-2009, 01:42 AM
Greetings,

Posted by TrentH [WhirlHost], 10-23-2009, 06:07 PM
Seems like you need an account maker script. WHMCS will set this up, and do an email check to see if their already a customer. It prices 15$ monthly, but it'll do everything you need.

Posted by jagarco, 10-23-2009, 07:27 PM
I was checking and because I'm up to offer just a very basic web builder, like some templates with the PHP placeholders where the contents can be pulled from a database. No FTP access nor email accounts. just subdomains. So I was thinking of just developing a PHP database script where users register and just create "pages"(database memo records holding HTML from a FSCKeditor or such). Their subdomain will point to a folder, where an index.php will just pull the selected design template from a single place(for all users to use) and showing in the fly the pages. The templates files will just be stored in one place, and called by any subdomain using them. Jagarco

Posted by KMyers, 10-23-2009, 07:31 PM
Hello,

Posted by jagarco, 10-23-2009, 07:49 PM
I will need to investigate that apache's stuff. I wonder if instead of creating physical folders for each user, which could be thousands, instead could be pulled from a database and then assamble and deliver the webpage. Like maybe just one index.php for all, just by knowing which subdomain is being accessed and then delivering the correct data to the browser. thanks Jagarco



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read


Language:

Client Login

Email

Password

Remember Me

Search