Subdomain is not acessible
I set a virtual host up, everything worked OK. I then tried setting up a subdomain, and I got a message telling that everything was set up OK, but when I try the subdomain, I get a message that the subdomain was not found.
The following was added by EHCP to /etc/apache2/apache2.conf:
I now have the following directories:
Inside that directory, I now have the following directories:
- ehcp (has in it all the ehcp files, and .conf files)
- vhosts (it has in it an ehcp directory with only an index.html file)
I also have: /var/www/vhosts and in this directory, I have the domain I created earilier:
/var/www/vhosts/mydomain/mydomain.com/httpdocs/subdomains/sandbox (sandbox is the name of the subdomain).
The file Include /var/www/new/ehcp/apachehcp_subdomains.conf seems to have in it the right information:
#____________start of sandbox.blabplatform.com__paneluser:mydomain_reseller:_id:1____________
#CustomLog /var/www/vhosts/mydomain/mydomain.com/httpdocs/subdomains/sandbox/logs/access_log combined # homedir yerine, domainhomedir gibi bisey olmali...
CustomLog /var/log/apache_common_access_log combined
php_admin_value open_basedir /var/www/vhosts/mydomain/mydomain.com/httpdocs/subdomains/sandbox
php_admin_value upload_tmp_dir /var/www/vhosts/mydomain/mydomain.com/httpdocs/subdomains/sandbox/phptmpdir
php_admin_value session.save_path /var/www/vhosts/mydomain/mydomain.com/httpdocs/subdomains/sandbox/phptmpdir
deny from all
deny from all