[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: NameVirtualHost and dynamic subdomains on apache.



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 <skx@debian.org> 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
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: