httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matus UHLAR - fantomas <>
Subject Re: [users@httpd] (again) Can not define "default" name virtual host
Date Tue, 27 Jun 2006 11:42:52 GMT
> > afaik the server does not resolve IP's to hosts here (do you have other
> > informations?)

On 27.06.06 10:22, Pid wrote:
> I didn't say anything about *DNS* resolution.

Aha, sorry. I understand what you've meant.

> > requests for "" should go to virtualhost "" if they
> > come to the same address the virtual host is defined at, afaik no DNS
> > resolution applies here.
> Yes, you're probably right. But it doesn't, for reasons which I can only
> guess at.

and this is it, I've already come to this explanation.

> > The only place where DNS resolution applies, is where I define:
> > 
> > <VirtualHost>     <--- here

> Umm, wha?

when apache loads its config, it will resolve to its IP
address and works with the IP. But as long as we bnoth didn't talk about DNS
resolution, this is irelevant...

> > in which case I can't have virtual host for "" because
> > it would fall into this one :-(
> You didn't say that, you said:


> And I'm suggesting that the following will resolve your problem.
> <VirtualHost>
> ServerName
> DocumentRoot /home/webs/
> </VirtualHost>
> <VirtualHost>
> ServerName
> DocumentRoot /home/webs/
> </VirtualHost>

In this case, no requests will reach "" (this name does
not exist) because will be default host. And the thing is I
want to differentiate between those...
Matus UHLAR - fantomas, ;
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. -- Benjamin Franklin, 1759

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message