On 2010-07-14 17:41, Tapas Mishra wrote: > how is localhost hooked up Usually the hostname "localhost" is resolved through the "hosts" file (/etc/hosts on unix-like systems), and then resolves to 127.0.0.1. > because when I am requesting > http://localhost I am not requesting any particular vhost which > contains > ServerName localhost or ServerAlias localhost. Yes you are. You are requesting pages from the host called "localhost" at port 80 at the IP address "localhost" resolves to (normally 127.0.0.1). If there is no host with servername or serveralias "localhost" at that address you will get a response from the default host at that address. /Jonas -- Jonas Eckerman Fruktträdet & Förbundet Sveriges Dövblinda http://www.fsdb.org/ http://www.frukt.org/ http://whatever.frukt.org/ --------------------------------------------------------------------- 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: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx