ispCP - Board - Support
domain alias broke www cname - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: domain alias broke www cname (/thread-4914.html)

Pages: 1 2


RE: domain alias broke www cname - coper - 12-12-2008 01:41 PM

Hello,
Kotty is right. You can do what he said to make a webmail subdomain (like webmail.domain.com). And all new domain will have that subdomain.
I have a subdomain for each tool (webmail, pma, webftp) in all domains. So when I create a new domain I have webmail.newdomain.com, pma.newdomain.com and webftp.newdomain.com
I did that following this howto http://www.isp-control.net/documentation/howto/miscellaneous/create_panel.domain.tld_pma.domain.tld_webftp.domain.tld_and_webmail.domain.tld (the same you told us before), but with a little modification.
I didn't create a configuration file for each tool (02_webmail.conf, 03_pma.conf, 04_webftp.conf) I just take the code for each tool and put it in the 00_master.conf.
You need to make a little modification in the code for each tool. For example for the pma you have:
<VirtualHost BASE_SERVER_IP:80>
ServerAdmin DEFAULT_ADMIN_ADDRESS
DocumentRoot /var/www/ispcp/gui/tools/pma
ServerName pma.DOMAIN.TLD

You need to modify that like this:
<VirtualHost {BASE_SERVER_IP}:80>
ServerAdmin {DEFAULT_ADMIN_ADDRESS}
DocumentRoot /var/www/ispcp/gui/tools/pma
ServerName {BASE_SERVER_VHOST}
ServerAlias pma.*

Hope you can understand me, sorry about my english.
I attach my 00_master.conf file, so you can take a look and make it work.

See you.