httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: [users@httpd] Is it possible to configure two subdomains for an IP address?
Date Wed, 18 Mar 2009 15:31:00 GMT
Rex C. Eastbourne wrote:
[...]

A short primer :

The Internet in general works with IP addresses, not host names.
Host names are for humans.

When in the browser of your workstation, you enter a URL like
http://hostname.x.y.z/something/something-else.html
the first thing the browser does is try to resolve the hostname
"hostname.x.y.z" into an IP address.
For that to work, there must be an entry somewhere in your local "hosts" 
file, or in a DNS server known to your workstation, that can "translate" 
the name "hostname.x.y.z" into an IP address.
If that does not work, then your browser will tell you "host not found", 
before even trying to send a HTTP request to that host.

Your webserver, no matter what is its configuration, will only get 
involved once it receives the browser request.
According to your symptoms, that does not seem to be the case yet.

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message