ispCP - Board - Support
[SOLVED] Apache vhost - 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: [SOLVED] Apache vhost (/thread-13373.html)



[SOLVED] Apache vhost - sumfvm - 05-11-2011 02:45 AM

Hi all!

Today, I met 2 more problems to solve:

- All the domains I create are redirect to my panel and if I create some sub-domains I am always redirect to panel,

- It is impossible to access on alternative sub-domain (like http://vu2016.admin.domain.tld), ping is ok but no vhost created,

Regards,


RE: Apache vhost - cyberalternative - 05-18-2011 07:40 PM

(05-11-2011 02:45 AM)sumfvm Wrote:  Hi all!

Today, I met 2 more problems to solve:

- All the domains I create are redirect to my panel and if I create some sub-domains I am always redirect to panel,

- It is impossible to access on alternative sub-domain (like http://vu2016.admin.domain.tld), ping is ok but no vhost created,

Regards,

I Have the same problem, and documentation is not accessible.

I have solved the problem, but is not seems to be a good solution, and i don't know how do it with ispCP.

My solution is :

in : /etc/apache2/ispcp
open your domain configuration file (mydomain.com.conf) with an editor (nano, vim) and edit it :

Code:
DocumentRoot /var/www/virtual/yourDomain

Correct me ^^.
Thank you


RE: Apache vhost - kilburn - 05-19-2011 01:12 AM

We can't help you if you don't provide a minimum of information. In this case, I would like to see:

1. output of "apache2ctl -S"
2. contents of the file /etc/apache2/sites-available/00-master.conf
3. contents of the file /etc/apache2/sites-available/ispcp.conf

With this information we might be able to know why you are having these troubles.


RE: Apache vhost - sumfvm - 05-24-2011 01:14 AM

Problem solved, I had reinstall (a single "revert to snapshot" on ESXi in fact) and the problem isn't present.

Thank for your help killburn, it helps me in another way.

Regards