HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   Migrating from Virtualmin to ISPConfig (http://www.howtoforge.com/forums/showthread.php?t=5516)

xare 13th July 2006 20:24

Migrating from Virtualmin to ISPConfig
 
Hi
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.

Bye

till 14th July 2006 12:09

Quote:

Originally Posted by xare
Hi
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?

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.

Quote:

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.
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.

Quote:

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?
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.

xare 15th July 2006 17:50

Quote:

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.
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?

falko 16th July 2006 13:58

Quote:

Originally Posted by xare
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?

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

Quote:

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

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

ifconfig
output.

Quote:

Originally Posted by xare
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?

No, this cannot be changed.


All times are GMT +2. The time now is 12:56.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.