Steve - I am still testing, but I believe my issue was around disabling the
000-default config that comes with apache and debain.

Once i disabled it, I was good to go..it does work.
Now i will start reading the dns link that you sent me.
Just a coouple of quick questions:
1. I can do the same wildcard config with dns as i do iwth apache ????
2. if i ever need to specify a particular special subdomain of the main
domain, can I still use serveralias command like :

<VirtualHost *>
        ServerAdmin [EMAIL PROTECTED]
        ServerName  XXX.com
        ServerAlias rid11.XXX.com
        ServerAlias *.XXX.com


But of course i should have a subdirectory pertaining to that subdomain.

Is that how it works...thanks for all your help...that was killing me
there..sorry for killing you too.

thanks
mjh




On Tue, Apr 1, 2008 at 12:40 PM, Michael Habashy <[EMAIL PROTECTED]> wrote:

> Hi Steve ---I see you monitor this too :)
>
> I will read that article ..thanks.....But i just moved over to a newly
> built server and got the following error:
>
> machine:/etc/apache2/conf.d# /etc/init.d/apache2 restart
> Forcing reload of web server (apache2)...[Tue Apr 01 12:38:02 2008] [warn]
> NameVirtualHost *:0 has no VirtualHosts
> httpd (no pid file) not running
> [Tue Apr 01 12:38:02 2008] [warn] NameVirtualHost *:0 has no VirtualHosts
>  failed!
>
> why did this happen?????
> I am using the same configs.
>
> thanks
> mjh
>
>
>
>
>
>
>
> On Tue, Apr 1, 2008 at 12:28 PM, Steve Kemp <[EMAIL PROTECTED]> wrote:
>
> > On Tue Apr 01, 2008 at 17:07:16 +0100, Matthew Macdonald-Wallace wrote:
> >
> > > >         ServerAlias *.XXX.com
> >
> > > Using a *.XXX.com won't work.  You need to define a virtual host for
> > > each and every website on your server including all sub-domains and
> > > then place the files in the appropriate directories.
> >
> >   That is not true.
> >
> >  See for example this link:
> >    http://www.debian-administration.org/articles/358
> >
> > Steve
> > --
> > Debian GNU/Linux System Administration
> > http://www.debian-administration.org/
> >
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact
> > [EMAIL PROTECTED]
> >
> >
>

Reply via email to