[BlueOnyx:02777] Re: Subdomains problems

DD bqlist at distortal.com
Mon Nov 2 05:03:08 -05 2009


Hi Marcello,
 
You will need to log in as admin and probably su to do this.
 
Examine the file:
 
    /etc/httpd/conf/httpd.conf
 
At the end of the file you will see includes for all of your sites.  The
first one in the list is the one that shows up when you enter the IP address
of the server.  All you need to do is rearrange the includes so that your
preferred site is first.
 
For example, my httpd.conf file reads:
 
    Include /etc/httpd/conf/vhosts/site27
    Include conf.d/*.conf
    Include /etc/httpd/conf/vhosts/site1
    Include /etc/httpd/conf/vhosts/site2
    ....and so on
 
Save the changes, and restart Apache.
 
Regards,
 
 
 
Dick

-----Original Message-----
From: blueonyx-bounces at blueonyx.it [mailto:blueonyx-bounces at blueonyx.it] On
Behalf Of Marcello Torchio
Sent: 01 November 2009 11:38
To: blueonyx at blueonyx.it
Subject: [BlueOnyx:02775] Subdomains problems


Hi to all, i'm new in BlueOnyx world ad so i'm not so able to understand
well all the BO's functions.
Excuse me for my bad english if you read something wrong.
Ok, let's go.
I'm managing a server with installed BlueOnyx 5106R Series and i've got few
domains.
Something strange happen when i try to enable subdomains for virtual host,
because i enable them, set the maxinum numer of subdomains to 1 and add a
subdomain for example forum.domain.com stored in
/home/.sites/siteXX/vhosts/forum.
The folder on the server is created and if i go to forum.domain.com i can
see the index page of BO.
But also if i go to the ip address ( that should point to the main site of
my server ) i see the subdomain web space.
This happens also if i open another subdomain on another domain ( different
from the first one ), and i go to the ip address with my browser i can see
the webspace of the last subdomain opened.

Someone of you know the reason of this issue?

Regards

Thank you

Marcello



No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.423 / Virus Database: 270.14.43/2474 - Release Date: 11/01/09
07:38:00




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20091102/fcee7af7/attachment.html>


More information about the Blueonyx mailing list