Quote:
Originally Posted by till
Is the IP of the subdomain of this website is identical with the IP address that you selcted in the website settings
|
actually the domain is redirect to another domain
Quote:
|
Thats not a good idea as this can cause conflicting websites which may casuse some or all websites to not work on your server. So do not add vhosts manually. You should eiser use ispconfig to create the websites or uninstall ispconfig if you want to manage the vhosts on your server manually, but do not combine manually management together with a controlpanel.
|
This is the point: till now I've an installation where I'm not using the "sites" function of ISPConfig, but I was editing the file /etc/apache2/sites-enabled/000-default, adding the domains like:
Code:
<VirtualHost *:80>
ServerName www.domain.com
DocumentRoot /var/www/homepage/
<Directory /var/www/homepage/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ServerSignature Off
</VirtualHost>
Code:
<VirtualHost *:80>
ServerName mail.domain.com
DocumentRoot /var/www/roundcube
<Directory /var/www/roundcube>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ServerSignature Off
</VirtualHost>