Q&A: see ehcp under a subdomain of mine

Question:
Hello!
I was wondering how to create a subdomain with ehcp that would inturn point to ehcp's control panel.
Thanks for your help

Answer:
In fact, for every domain, following subdomains are setup to work with ehcp panel:

cp.domain.com
ehcp.domain.com
panel.domain.com
cpanel.domain.com

replace domain.com with yours... this is with ehcp version 0.29.09

if it does not work with you,
open your apachetemplate file in your ehcp dir,

add following below the file:

<VirtualHost *>
ServerAlias cpanel.{domainname}
ServerAlias panel.{domainname}
ServerAlias ehcp.{domainname}
ServerAlias cp.{domainname}

DocumentRoot /var/www/vhosts/ehcp/

LogFormat "%v:%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
CustomLog /var/log/apache_common_access_log vhost_combined

php_admin_value open_basedir /var/www/vhosts/ehcp/

</VirtualHost>

Then, go to ehcp gui, options, sync domains...
thats it..

Forums: