Re: [Hampshire] Subdomains on a CentOS box

Top Page

Reply to this message
Author: Dr Adam J Trickett
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Subdomains on a CentOS box
On Tue, 22 Jan 2008 at 04:03:03PM +0000, Alex wrote:
> -----Original Message-----
> From: richard@???
> My httpd.conf file is blank (this was my first port of call) so can I
> just can the subdomain info to that or do I need to configure
> something else.
>
> That's because the config is called apache2.conf. BUT, at least Debian (that know)
> puts the configuration files in /etc/apache2/sites-available and a2ensite creates
> symlinks to these files under sites-enabled, which apache looks at for site
> configuration (as well as apache2.conf). For virtual hosting, I highly recommend
> sticking to this setup as it keeps things simple.
>


On my stock RHEL4 box, RedHat do like Debian in using a set of files in a directory,
but it's a different directory from the Debian one.

Have a look in /etc/httpd/conf.d/

--
Adam Trickett
Overton, HANTS, UK

Considering the number of wheels Microsoft has found reason
to invent, one never ceases to be baffled by the minuscule
number whose shape even vaguely resembles a circle.
    -- anon, on Usenet