Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Q&A: see ehcp under a subdomain of mine
#1
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:
<code>
&lt;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/

&lt;/VirtualHost>
</code>


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


Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)

Online Shopping App
Online Shopping - E-Commerce Platform
Online Shopping - E-Commerce Platform
Feinunze Schmuck Jewelery Online Shopping