Portal Home > Knowledgebase > Articles Database > Building A Control Panel


Building A Control Panel




Posted by Apenex Ltd, 12-27-2009, 02:02 AM
Hello, I've decided I'm going to build my own control panel, however I need some help getting started. I'm unsure how to make the server give/receive the correct files from each domain. As some of you may know a control panel puts each users files into a folder like this: /users/yourdomain.com/public_html I'm just unsure how to have the server point to those files like this: User requests yoursite.com -> server points them to: /users/yoursite.com/public_html/index.html Any ideas?

Posted by tim2718281, 12-27-2009, 06:57 AM
One of the things a control panel does is update configuration files for the web server. Hence you need to understand the web server software configuration options, decide which ones are relevant to your control panel project, and decide how to control the configuration options via the control panel. In Apache, check out Virtual Hosts: http://httpd.apache.org/docs/2.2/vhosts/ But also look at the documentation for security. (Users should not be able to access each other's files ... some of the files under /users/yourdomain.com may contain database password info.)

Posted by enkapsulate, 12-27-2009, 09:34 AM
Why not start with an Opensource Control panel, then modify the design and features to what you need, saves all the basic 'Leg Work'. What I am trying to say is use something as a basic framework.

Posted by Chris-QuadHost, 12-27-2009, 07:52 PM
There isn't that much out there really, and depending on the licence (some you need to have a lot of legal knowledge) may not allow you to use them for the 'leg work'.

Posted by Apenex Ltd, 12-27-2009, 10:02 PM
I'd rather not work off of anything as leg work, too many bugs, security holes and general problems to start with. I'll probably use PHP to edit the Virtual Hosts file to add new domains.

Posted by VicksHost, 12-27-2009, 10:03 PM
You may use Open Source but not sell them, and Us you offer them on your hosting, you are not selling them Check Z-Panel, I think it's a good one and OS one.

Posted by Apenex Ltd, 12-27-2009, 10:05 PM
Well when I finish building it I plan to sell it for $2.99 a month. I plan to make it have at least as many features as Direct Admin has if not more for the actual launch.

Posted by VicksHost, 12-27-2009, 10:07 PM
I can may be become a financial partner for This. PM me may be we can do a professional business on this fields as I have as many providers as you want

Posted by Hosting24, 12-28-2009, 07:35 AM
First of all, you must know amazing understanding how things work on server. Secondly, keep in mind control panel will be used on many different servers, so control panel should work with any possible configuration. I would suggest you to examine things in your current server to see how everything works before even thinking about your custom control panel. We made our panel, and it took many months.

Posted by Apenex Ltd, 12-28-2009, 07:40 AM
Well I have a very good understanding of PHP and a pretty good understanding of how to modify a server. As an example I already wrote the installation script for the control panel for 2 different versions of linux and have tested them multiple times throwing tons of extra crap to get in the way of installing without problem. I probably knew the answer to this question in the back of my head somewhere, but its not like I need to call that information to mind every 30 seconds. Thanks for the concern.

Posted by Chris-QuadHost, 12-28-2009, 07:48 AM

Posted by Hosting24, 12-28-2009, 07:55 AM
Chris-QuadHost, could you quote a post of mine where I wrote that we use this control panel with Hosting24? I couldn't see any...?

Posted by Chris-QuadHost, 12-28-2009, 08:00 AM
I gathered that "our panel" means "our panel that we have developed in place of cPanel/other control panel"

Posted by Hosting24, 12-28-2009, 08:09 AM
That's right, we made a replacement for cPanel. We were in lack of some extra features cPanel couldn't offer, and it was the main reason of building our own software.

Posted by DiegoRBaquero, 12-28-2009, 08:18 AM
When did you change the CP, when I had Hosting24, it was custom client panel, and cPanel... I was with you guys from 2008 to August 2009...

Posted by Hosting24, 12-28-2009, 08:33 AM
We used cPanel (cpanel.net) software at Hosting24.com from the 1st day, and we will continue using it here. Custom control panel is used with other projects (which need more features).

Posted by JBapt, 01-02-2010, 06:53 PM
I'm building a os agnostic control panel that works in bsd and linux. Almost there and fully suports mail accounts, ftp accounts, mysql databases, ruby on rails apps, etc etc etc Really happy with it. Reason to move away from cpanel? Fed up with random issues and a bloated cpanel with features that clients never bothered using!



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
cpanel/apache issue (Views: 774)
Secureservertech? (Views: 836)
Order form? (Views: 49636)
outsourcing email (Views: 830)
End-user Support (Views: 819)


Language:

LoadingRetrieving latest tweet...

Back to Top Copyright © 2018 DC International LLC. - All Rights Reserved.