Migrate CPanel to ISPConfig

Discussion in 'Installation/Configuration' started by dolvito, May 18, 2006.

  1. dolvito

    dolvito New Member

    I'm new at using ISPConfig, I still have a server running with CPanel.

    I was thinking about migrating my CPanel server to a ISPConfig server.
    There are 2 things that crossed my mind after testing ISPConfig

    • If I create a new web account on the CPanel server de document structure is
      /home/<username>/www ---> public_html

      In ISPConfig the document structure is
      /var/www/www.domain.com ---> web1

    • If a client creates a database the naming of the database with CPanel can be done by the client, the user naming as well.

      The naming of a database in CPanel is like this.

    Is it possible to change these settings in ISPConfig so migrating from CPanel to ISPConfig can be maid possible easier?

    Kind Regards
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    • This can not be changed in ISPConfig without rewriting large parts of the sourcecode. In ISPConfig every customer can have more then one website, thats why a scheme based on the user wont work.

    This cant be changed in the interface, but it might be easier to change this in the sources.
  3. dolvito

    dolvito New Member

    I'm now trying to name the database names.

    I've created a site which doc_id = 2;
    But how can I select the username of the site from the database?

    Do you know the query which selects the username only knowing the site's doc_id?

    Thanks in advance
  4. till

    till Super Moderator Staff Member ISPConfig Developer

  5. dolvito

    dolvito New Member

    i've looked into the post you referred to

    but with the query in that thread you use isp_isp_user.username

    what i need is sys_user.username
  6. dolvito

    dolvito New Member

    i still haven't found how to get the sys_user.username

  7. falko

    falko Super Moderator ISPConfig Developer

    Have a look at isp_isp_kunde.webadmin_user. That's the username that is also in sys_user.

Share This Page