Few problems and trying to resolve them on CentOS 5.5

Discussion in 'Installation/Configuration' started by Nicram, Oct 13, 2010.

  1. Nicram

    Nicram Member HowtoForge Supporter

    Hello
    I'm trying to make my ISPConfig 3.0.3 working as it should in every possible way. I'm using CentOS 5.5 (x86_64). ISPConfig is produced on Debian, so why there may be many problems with other Linux types. I choose CentOS because it;s more common in proffessional enviroment than Debian, and there are more professional compatible OS like RH, Oracle etc. (so if i would want to migrate into some pro Linux with support it will be less problematic).

    Currently i'm using Apache 2, MySQL 5.0.77, pure-ftpd, postfix with courier and PHP 5.1.

    The first problem i have is something i find out today. When there is some domain name that is pointing of IP of the server, and the server got no prepared any website for it, then if user will use that domain in web browser, it will load some client website instead of default that i prepared for main domain of server.

    Second problem is aliasdomain that is not work, or work incorrectly.

    So in this topic i will try to show how i find what is wrong, and how i solve those problems.
     
    Last edited: Oct 13, 2010
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The main problem with Centos is that it is a very old school linux distribution which compiles its packages without database support. This results in problems as most major packages have to be installed from external sources and repositories.

    So the problem with centos is basically that it lacks packages and not that ispconfig is developed on debian. If you want to use a sql based setup, then you need e.g. postfix and dovecot with sql support compiled in. On Centos, these packages from the centos main repositories dont have support for sql databases. Additionally, yum tends to overwite config files on updates while apt is not doing this. So if you use a customized config file, then there is a good chance that the next dist update on centos will break it and you have to run the ispconfig updater then to repair the setup.

    Thats the normal behaviour of apache and neither related to centos or debain as apache works like this on any linux distribution. If you want to show a specific website for non matching requests, then create a apache default vhost:

    http://httpd.apache.org/docs/2.0/vhosts/examples.html
     

Share This Page