Current time: 11-23-2024, 03:51 PM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED] Apache vhost
Author Message
sumfvm Offline
Junior Member
*

Posts: 30
Joined: May 2011
Reputation: 0
Post: #1
[SOLVED] Apache vhost
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,
(This post was last modified: 05-24-2011 01:14 AM by sumfvm.)
05-11-2011 02:45 AM
Find all posts by this user Quote this message in a reply
cyberalternative Offline


Posts: 1
Joined: May 2011
Reputation: 0
Post: #2
RE: Apache vhost
(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
(This post was last modified: 05-18-2011 08:32 PM by cyberalternative.)
05-18-2011 07:40 PM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #3
RE: Apache vhost
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.
05-19-2011 01:12 AM
Visit this user's website Find all posts by this user Quote this message in a reply
sumfvm Offline
Junior Member
*

Posts: 30
Joined: May 2011
Reputation: 0
Post: #4
RE: Apache vhost
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
05-24-2011 01:14 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)