Migrating from Virtualmin to ISPConfig

Discussion in 'Installation/Configuration' started by xare, Jul 13, 2006.

  1. xare

    xare New Member

    I have a system where I do manage domains and users with Virtualmin. I wish to migrate my system so I can use ISPConfig.

    But things are not that easy. I have found some problems and incompatibilities I wish to resolve.

    1. Virtualmin configuration creates one main user for each domain and then subusers. The difference lies in the structure of the user name. For example if I create example.com, I create automatically the unix user example, but if I want to add users to that domain those are created as user.domain in order to allow different domains have a user with the same name.

    How can I ensure ISPConfig will do the same?

    2. Virtualmain adds apache stanzas in httpd.conf while ISPConfig add the per domain stanzas are added in a separate file in the vhosts folder. I did start ISPConfig and started creating domains but I found my older domains already defined as VirtualHosts in httpd.conf would not show up but a message generated by ISPConfig. A shared IP error. I did turn ISPConfig off, but the error remained, until I restored the old httpd.conf file and restarted Apache.
    How can I avoid that problem. I saw in another forum that I had to give the internal network address of my host and not the external. But I use an external server and I don't know it.

    3. As with email I used postfix, ISPConfig replaces in main.cf the following order: virtual_alias_maps = hash:/etc/postfix/virtual
    which points at my actual email accounts by
    virtual_maps = hash:/etc/mail/virtusertable

    Would not it be possible to define /etc/postfix/virtual as the virtual_maps value for my mails, does virtusertable have the same structure than /etc/postfix/virtual created by virtualmin?

    Thanks for answering i plan to become a user of ISPConfig and collaborate with this project if I manage to set it up to work, for the rest I managed to make it work and it looks just what I needed.

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    ISPConfig uses user prefixes and not user suffixes, you can not change that but you can remove the user prefix to migrate the old usernames and then activate the user prefix again.

    remove your old vhosts from from your httpd.conf before you create the websites in ISPConfig. If you use an external server that is not in a NAT enviroment, you must use the external IP address.

    I dont know if ISPConfig uses the same structure for the virtusertable. If you want to migrate to ISPConfig you will have to create all users again in ISPConfig so it does not matter if the files have the same structure.
  3. xare

    xare New Member

    Sorry I did not understand this well.

    When you say ISPConfig uses user prefixes, what does that mean?

    Is there a way to do the change without forcing users to change their settings in outlook?

    2. My server is an external server from my workplace (dedicated server) but in my ISP provider it's probably part of a net.

    So what would be the best to avoid the shared IP message? Just remove all sites from httpd.conf and create them with ISPConfig?

    I have seen that the sites are created in the following way:

    a link is created as /home/nameofsite pointing at /home/webX where X is a number. There all the files and folders are created. Cannot we just have /home/nameofsite?
  4. falko

    falko Super Moderator ISPConfig Developer

    Have a look here: http://www.howtoforge.com/faq/14_47_en.html

    Yes. Make sure you install ISPConfig with one of the IP addresses you see in the

    No, this cannot be changed.

Share This Page