httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rich Bowen <>
Subject Re: [users@httpd] Virtual Hosts
Date Sun, 05 Jan 2003 18:23:59 GMT
On Sun, 5 Jan 2003, J. Greenlees wrote:

> would not aliasing to allow it to work without the
> dns entry?
> I know it can be aliased, but not sure about the dns.

No, it would not. If the name does not resolve to the IP address, in
DNS, then the browser will never find your server in the first place.
When you type a hostname into your browser, the first thing that it must
do is query DNS to find out where that server lives, by IP Address.
Putting virtual host configurations in Apache does not make that name
resolve to that server. If it did, then surely we could all set up virtual hosts and hijack the real site.

HTTP relies on DNS, and vhosts don't work without DNS entries.

And everyone said, "If we only live,
We too will go to sea in a Sieve -
To the hills of the Chankly Bore!"
 (The Jumblies, by Edward Lear)

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