Re: Problem setting up a subdomain

2012-06-09 Thread Alan Chandler
On 08/06/12 15:20, Chris Davies wrote: Keir Snow wrote: I've then enabled it using a2ensite however it seems to override my default config file and serve the subdomain content when the main site URL is used. Any ideas what I'm doing wrong? Misunderstanding vHosts :-) The _default_ entry works

Re: Problem setting up a subdomain

2012-06-08 Thread Jochen Spieker
Tony Baldwin: > On Fri, Jun 08, 2012 at 02:58:57PM +0100, Keir Snow wrote: > >> Not sure I follow sorry, where would I create this section? I thought >> by putting something in sites-available I was leaving the main config >> alone? > > > I believe what Jochen is suggesting (and what I would reco

Re: Problem setting up a subdomain

2012-06-08 Thread Tony Baldwin
On Fri, Jun 08, 2012 at 02:58:57PM +0100, Keir Snow wrote: > Not sure I follow sorry, where would I create this section? I thought > by putting something in sites-available I was leaving the main config > alone? > I believe what Jochen is suggesting (and what I would recommend, b/c it's what I d

Re: Problem setting up a subdomain

2012-06-08 Thread Camaleón
On Fri, 08 Jun 2012 14:18:51 +0100, Keir Snow wrote: > Relatively inexperienced at apache admin so please forgive any dumb > mistakes on my part! > > Been trying to set up a subdomain of my site, so I've created a config > file in sites-available that looks like this: (...) > I've then enabled

Re: Problem setting up a subdomain

2012-06-08 Thread Chris Davies
Keir Snow wrote: > I've then enabled it using a2ensite however it seems to override my > default config file and serve the subdomain content when the main site > URL is used. > Any ideas what I'm doing wrong? Misunderstanding vHosts :-) The _default_ entry works fine until you start adding virt

Re: Problem setting up a subdomain

2012-06-08 Thread Keir Snow
Not sure I follow sorry, where would I create this section? I thought by putting something in sites-available I was leaving the main config alone? Keir On Fri, Jun 8, 2012 at 2:41 PM, Jochen Spieker wrote: > Keir Snow: >> >> Been trying to set up a subdomain of my site, so I've created a config

Re: Problem setting up a subdomain

2012-06-08 Thread Jochen Spieker
Keir Snow: > > Been trying to set up a subdomain of my site, so I've created a config > file in sites-available that looks like this: -- snip > I've then enabled it using a2ensite however it seems to override my > default config file and serve the subdomain content when the main site > URL is used

Problem setting up a subdomain

2012-06-08 Thread Keir Snow
Hi All, Relatively inexperienced at apache admin so please forgive any dumb mistakes on my part! Been trying to set up a subdomain of my site, so I've created a config file in sites-available that looks like this: ServerAdmin keir@localhost DocumentRoot /var/www/groupblog