> -----Original Message-----
> From: OOzy Pal [mailto:[EMAIL PROTECTED] 
> Sent: Friday, June 09, 2006 5:21 PM
> To: users@httpd.apache.org
> Subject: Re: [EMAIL PROTECTED] ServerAlias
> 
> On 6/9/06, Rainer Sokoll <[EMAIL PROTECTED]> wrote:
> > On Fri, Jun 09, 2006 at 06:00:27PM +0300, OOzy Pal wrote:
> >
> > > When I type admin.b1.com in Firefox or Lynx, I get SERVER 
> NOT FOUND error
> >
> > Since there is no A record (DNS) for admin.b1.com:
> >
> > ~ >host admin.b1.com
> > Host admin.b1.com not found: 3(NXDOMAIN)
> >
> > Rainer
> >
> > 
> ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP 
> Server Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >    "   from the digest: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> hmm, A DNS is required even for serveraliases?

Of course. When you type a servername into a browser, the first thing that 
happens is that the browser has to resolve it into an IP address. If it can't, 
you will get a "server not found". At this point, apache is not even aware you 
requested anything since the request never even left the browser. 

> 
> Anyhow, I have added a line in my /etc/hosts file and it worked ok.

It'll work locally - your browser now consults /etc/hosts, finds the IP addr 
and routes the request to apache. Apache compares the Host header with its 
server alias list and matches it to the appropriate VH.

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

> 
> Thx
> 
> -- 
> OOzy
> Kubuntu-Dapper
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP 
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>    "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen 
Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a 
private and personal nature. It is not related to the exchange or business 
activities of the SWX Group. Le présent e-mail est un message privé et 
personnel, sans rapport avec l'activité boursière du Groupe SWX.
 
 
This message is for the named person's use only. It may contain confidential, 
proprietary or legally privileged information. No confidentiality or privilege 
is waived or lost by any mistransmission. If you receive this message in error, 
please notify the sender urgently and then immediately delete the message and 
any copies of it from your system. Please also immediately destroy any 
hardcopies of the message. You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the intended 
recipient. The sender's company reserves the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are 
those of the individual sender, except where the message states otherwise and 
the sender is authorised to state them to be the views of the sender's company.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to