Closed Thread
Results 1 to 13 of 13

Thread: Building A Control Panel

  1. #1
    Member SitePenguin Ltd is on a distinguished road
    Join Date
    Nov 2009
    Posts
    99

    Building A Control Panel

    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?

  2. #2
    Member SitePenguin Ltd is on a distinguished road
    Join Date
    Nov 2009
    Posts
    99
    Well it seems I ca use php to edit a virtual host file and produce the desired outcome, sorry for waisting posting space... LOL

  3. #3
    Super Moderator#1 stuffradio has a reputation beyond reputestuffradio has a reputation beyond reputestuffradio has a reputation beyond reputestuffradio has a reputation beyond reputestuffradio has a reputation beyond reputestuffradio has a reputation beyond reputestuffradio has a reputation beyond reputestuffradio has a reputation beyond reputestuffradio has a reputation beyond reputestuffradio has a reputation beyond reputestuffradio has a reputation beyond repute stuffradio's Avatar
    Join Date
    Oct 2005
    Location
    BC, Canada
    Posts
    7,300
    Control Panel for what?

  4. #4
    FWS Addict aloycasmir is just really nicealoycasmir is just really nicealoycasmir is just really nice
    Join Date
    Sep 2009
    Posts
    677
    I guess he's making a direct admin like control panel to not only save on costs of buying it but also as an alternative source of income .
    I expect it to be like the real direct admin control panel or something close

    Wish i had such skills. I'm not good enough for such high level development such as control panels yet
    http://www.numbhost.com
    $6 VPS and $100 Dedicated Servers!!<=
    Now Good Quality comes easy on your pocket

  5. #5
    Member SitePenguin Ltd is on a distinguished road
    Join Date
    Nov 2009
    Posts
    99
    He hit the nail on the head. Obviously I'm not cloning Direct Admin, jsut building similar features into my own web hosting control panel.

  6. #6
    NLC Starcraftmazter has disabled reputation
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    1,276
    Quote Originally Posted by SitePenguin Ltd View Post
    Well it seems I ca use php to edit a virtual host file and produce the desired outcome, sorry for waisting posting space... LOL
    PHP would be a bad choice, the only thing you are guaranteed to get on a linux OS is perl, and perl is a more logical choice to use anyway since most of the work to be done revolves around file and directory editing.
    Liway - One of the Best Free, Paid & Reseller Hosts
    http://www.liway.com

  7. #7
    Member SitePenguin Ltd is on a distinguished road
    Join Date
    Nov 2009
    Posts
    99
    Well I'm not going to bother to learn Perl just to write a control panel. Granted I may get someone to help me later on in that department.

  8. #8
    FWS Addict aloycasmir is just really nicealoycasmir is just really nicealoycasmir is just really nice
    Join Date
    Sep 2009
    Posts
    677
    Well i said it was 'like' direct admin
    So how is it going penguin ?
    Any success yet . I'd love to learn how you managed to get it working , but , only if you would like to tell me...
    http://www.numbhost.com
    $6 VPS and $100 Dedicated Servers!!<=
    Now Good Quality comes easy on your pocket

  9. #9
    NLC Starcraftmazter has disabled reputation
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    1,276
    Quote Originally Posted by SitePenguin Ltd View Post
    Well I'm not going to bother to learn Perl just to write a control panel. Granted I may get someone to help me later on in that department.
    You speak of this as though it's some easy feat
    Liway - One of the Best Free, Paid & Reseller Hosts
    http://www.liway.com

  10. #10
    Member SitePenguin Ltd is on a distinguished road
    Join Date
    Nov 2009
    Posts
    99
    Written a control panel before, it was just a layered one (you installed it into another control panel like cpanel) so its not that hard lol... Took about 2 months when i didn't know what i was doing. At this point I've got alot of it figured out the installation script was the hard part.

  11. #11
    NLC Starcraftmazter has disabled reputation
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    1,276
    So what language is it written in? And what are it's features?
    Liway - One of the Best Free, Paid & Reseller Hosts
    http://www.liway.com

  12. #12
    Member SitePenguin Ltd is on a distinguished road
    Join Date
    Nov 2009
    Posts
    99
    The control panel is currently written in PHP and contains a simple file manager, edit file feature, login system and admin list accounts features. (Adding features as I have time)... The installation script is a .sh file that uninstalls all versions of php, mysql and apache then installs a custom version of each programmed to work together. After installing all 3 of those it downloads the latest version of my control script from the server and sets it up in the correct directories... Pretty simple at the moment but it is getting there.

    The install script currently runs on CentOS, Redhat and Debian.

  13. #13
    FWS Addict aloycasmir is just really nicealoycasmir is just really nicealoycasmir is just really nice
    Join Date
    Sep 2009
    Posts
    677
    Gr8 news penguin
    Wish i had a server to test it...
    http://www.numbhost.com
    $6 VPS and $100 Dedicated Servers!!<=
    Now Good Quality comes easy on your pocket

Closed Thread

Similar Threads

  1. VPS Control Panel
    By [JSH]John in forum Host Talk
    Replies: 12
    Last Post: November 9th, 2009, 01:34
  2. What control panel???
    By Matsta in forum Host Talk
    Replies: 17
    Last Post: November 29th, 2006, 02:19
  3. control panel
    By 0000 in forum Free hosting requests
    Replies: 6
    Last Post: January 11th, 2006, 15:40
  4. Best control panel
    By y04chs067 in forum Dedicated Server & Reseller Requests
    Replies: 3
    Last Post: August 7th, 2005, 05:31
  5. Control Panel
    By u888 in forum Paid hosting requests
    Replies: 3
    Last Post: January 11th, 2003, 23:31

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts